richard Wed May 29 16:58:57 2002 EDT
Modified files:
/pear/Net_URL URL.php package.xml
Log:
* Fix minor irritation when running on windows
Index: pear/Net_URL/URL.php
diff -u pear/Net_URL/URL.php:1.10 pear/Net_URL/URL.php:1.11
--- pear/Net_URL/URL.php:1.10 Thu May 16 06:11:54 2002
+++ pear/Net_URL/URL.php Wed May 29 16:58:57 2002
@@ -15,7 +15,7 @@
// | Author: Richard Heyes <richard@xxxxxxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: URL.php,v 1.10 2002/05/16 10:11:54 jan Exp $
+// $Id: URL.php,v 1.11 2002/05/29 20:58:57 richard Exp $
//
// Net_URL Class
//
@@ -132,7 +132,7 @@
if ($urlinfo['path'][0] == '/') {
$this->path = $urlinfo['path'];
} else {
- $path = dirname($this->path) == '/' ? '' :
dirname($this->path);
+ $path = dirname($this->path) == DIRECTORY_SEPARATOR ? '' :
dirname($this->path);
$this->path = sprintf('%s/%s', $path, $urlinfo['path']);
}
} else {
Index: pear/Net_URL/package.xml
diff -u pear/Net_URL/package.xml:1.2 pear/Net_URL/package.xml:1.3
--- pear/Net_URL/package.xml:1.2 Sun Feb 17 09:47:29 2002
+++ pear/Net_URL/package.xml Wed May 29 16:58:57 2002
@@ -3,30 +3,69 @@
<package version="1.0">
<name>Net_URL</name>
<summary>Easy parsing of Urls</summary>
+ <description>
+ Provides easy parsing of URLs and their constituent parts.
+ </description>
+ <license>BSD</license>
<maintainers>
<maintainer>
- <user>heyesr</user>
+ <user>richard</user>
<name>Richard heyes</name>
- <email>heyesr@xxxxxxx</email>
+ <email>richard@xxxxxxx</email>
<role>lead</role>
</maintainer>
</maintainers>
<release>
- <version>1.0</version>
- <date>2002-02-17</date>
+ <version>1.0.2</version>
+ <date>2002-04-28</date>
<state>stable</state>
<notes>
- This is the initial release of the Net_URL package.
+ updated to fix a minor irritation when running on windows
</notes>
<filelist>
<dir name="/" baseinstalldir="Net">
<file role="php">URL.php</file>
<dir name="docs" role="doc">
- <file role="doc">example.php</file>
+ <file role="doc">example.php</file>
</dir>
</dir>
</filelist>
</release>
+ <changelog>
+ <release>
+ <version>1.0.1</version>
+ <date>2002-04-28</date>
+ <state>stable</state>
+ <notes>
+ Maintenance release. Bugs fixed with path detection and defaults.
+ </notes>
+ <filelist>
+ <dir name="/" baseinstalldir="Net">
+ <file role="php">URL.php</file>
+ <dir name="docs" role="doc">
+ <file role="doc">example.php</file>
+ </dir>
+ </dir>
+ </filelist>
+ </release>
+
+ <release>
+ <version>1.0</version>
+ <date>2002-02-17</date>
+ <state>stable</state>
+ <notes>
+ This is the initial release of the Net_URL package.
+ </notes>
+ <filelist>
+ <dir name="/" baseinstalldir="Net">
+ <file role="php">URL.php</file>
+ <dir name="docs" role="doc">
+ <file role="doc">example.php</file>
+ </dir>
+ </dir>
+ </filelist>
+ </release>
+ </changelog>
</package>
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|