Edit report at https://pear.php.net/bugs/bug.php?id=20304&edit=1
ID: 20304
Updated by: tklingenberg@lastflood.net
Reported By: tklingenberg@lastflood.net
Summary: Using Net_URL2 for a file:// URI criples the URI.
Status: Open
Type: Bug
Package: Net_URL2
Package Version: 2.0.5
PHP Version: Irrelevant
-Assigned To:
+Assigned To: tkli
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: tkli
Previous Comments:
------------------------------------------------------------------------
[2014-06-21 01:06:39] tkli
Description:
------------
Using Net_URL2 for a file:// URI criples the URI.
Test script:
---------------
$file = 'file:///path/to/file';
$url = new Net_URL2($file);
echo $url;
Expected result:
----------------
file:///path/to/file
Actual result:
--------------
file:/path/to/file
------------------------------------------------------------------------