cvs: pear /HTTP HTTP.php LICENSE package.xml
| From: | Michael Wallner | Date: | Tue, 08 Nov 2005 20:12:03 +0000 |
| Subject: | cvs: pear /HTTP HTTP.php LICENSE package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36170@lists.php.net to get a copy of this message | ||
mike Tue Nov 8 15:12:03 2005 EDT
Added files:
/pear/HTTP LICENSE
Modified files:
/pear/HTTP HTTP.php package.xml
Log:
- change license to BSD
- fix another reference bug
http://cvs.php.net/diff.php/pear/HTTP/HTTP.php?r1=1.47&r2=1.48&ty=u
Index: pear/HTTP/HTTP.php
diff -u pear/HTTP/HTTP.php:1.47 pear/HTTP/HTTP.php:1.48
--- pear/HTTP/HTTP.php:1.47 Tue Oct 4 05:09:51 2005
+++ pear/HTTP/HTTP.php Tue Nov 8 15:11:54 2005
@@ -6,12 +6,6 @@
*
* PHP versions 4 and 5
*
- * LICENSE: This source file is subject to version 3.0 of the PHP license
- * that is available through the world-wide-web at the following URI:
- * http://www.php.net/license/3_0.txt. If you did
not receive a copy of
- * the PHP License and are unable to obtain it through the web, please
- * send a note to license@php.net so we can mail you a copy immediately.
- *
* @category HTTP
* @package HTTP
* @author Stig Bakken <ssb@fast.no>
@@ -21,8 +15,8 @@
* @author Philippe Jausions <Philippe.Jausions@11abacus.com>
* @author Michael Wallner <mike@php.net>
* @copyright 2002-2005 The Authors
- * @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: HTTP.php,v 1.47 2005/10/04 09:09:51 mike Exp $
+ * @license BSD, revised
+ * @version CVS: $Id: HTTP.php,v 1.48 2005/11/08 20:11:54 mike Exp $
* @link http://pear.php.net/package/HTTP
*/
@@ -35,10 +29,9 @@
*
* @package HTTP
* @category HTTP
- * @license PHP License
* @access public
* @static
- * @version $Revision: 1.47 $
+ * @version $Revision: 1.48 $
*/
class HTTP
{
@@ -285,7 +278,7 @@
return $url;
}
if (!empty($protocol)) {
- $url = $protocol .':'. array_pop(explode(':', $url, 2));
+ $url = $protocol .':'. end($array = explode(':', $url, 2));
}
if (!empty($port)) {
$url = preg_replace('!^(([a-z0-9]+)://[^/:]+)(:[\d]+)?!i',
http://cvs.php.net/diff.php/pear/HTTP/package.xml?r1=1.39&r2=1.40&ty=u
Index: pear/HTTP/package.xml
diff -u pear/HTTP/package.xml:1.39 pear/HTTP/package.xml:1.40
--- pear/HTTP/package.xml:1.39 Tue Oct 4 05:42:33 2005
+++ pear/HTTP/package.xml Tue Nov 8 15:11:55 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.1">
-<!-- $Revision: 1.39 $ -->
+<!-- $Revision: 1.40 $ -->
<package version="1.0">
<name>HTTP</name>
<summary>Miscellaneous HTTP utilities</summary>
@@ -19,12 +19,13 @@
</maintainer>
</maintainers>
<release>
- <version>1.3.7</version>
+ <version>1.4.0</version>
<state>stable</state>
- <date>2005-10-00</date>
+ <date>2005-11-00</date>
<notes>
<![CDATA[
* Fixed bug #5581 negotiateLanguage() throws fatal error on PHP 5.0.5
+* Changed license to BSD
]]>
</notes>
<filelist>