cvs: pear /Net_URL URL.php
| From: | Richard Heyes | Date: | Sun, 28 Apr 2002 14:31:15 +0000 |
| Subject: | cvs: pear /Net_URL URL.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3603@lists.php.net to get a copy of this message | ||
richard Sun Apr 28 10:31:15 2002 EDT
Modified files:
/pear/Net_URL URL.php
Log:
* Applied patch from Kjarten Mannes fixing path bug
Index: pear/Net_URL/URL.php
diff -u pear/Net_URL/URL.php:1.6 pear/Net_URL/URL.php:1.7
--- pear/Net_URL/URL.php:1.6 Fri Apr 5 16:33:28 2002
+++ pear/Net_URL/URL.php Sun Apr 28 10:31:15 2002
@@ -15,7 +15,7 @@
// | Author: Richard Heyes <richard@phpguru.org> |
// +----------------------------------------------------------------------+
//
-// $Id: URL.php,v 1.6 2002/04/05 21:33:28 richard Exp $
+// $Id: URL.php,v 1.7 2002/04/28 14:31:15 richard Exp $
//
// Net_URL Class
//
@@ -129,7 +129,7 @@
// Path
if (!empty($urlinfo['path'])) {
if ($urlinfo['path'][0] == '/') {
- $this->path = $urlinfo['path'][0];
+ $this->path = $urlinfo['path'];
} else {
$this->path .= '/' . $urlinfo['path'];
}