#30997 [Opn->Bgs]: parse_url() returns an error.
| From: | iliaa@php.net | Date: | Mon, 06 Dec 2004 23:08:36 +0000 |
| Subject: | #30997 [Opn->Bgs]: parse_url() returns an error. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69865@lists.php.net to get a copy of this message | ||
ID: 30997
Updated by: iliaa@php.net
Reported By: pabloz at digbang dot com
-Status: Open
+Status: Bogus
Bug Type: *Network Functions
Operating System: Windows XP SP2
PHP Version: 5.0.2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
http:///www.php.net is not a valid URL.
Previous Comments:
------------------------------------------------------------------------
[2004-12-06 15:32:28] pabloz at digbang dot com
Description:
------------
parse_url() returns an error when it's trying to parse something like
"*:///*" where "*" is any string.
Reproduce code:
---------------
$a = parse_url('http:///www.php.net');
Expected result:
----------------
["path"]=> string(11) "http:///www.php.net"
Actual result:
--------------
parse_url(http:///www.php.net) Unable to parse url
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30997&edit=1