#31718 [Opn->Bgs]: parse_url: http:///foo.com/bar?joe=1 not recognized
| From: | derick@php.net | Date: | Thu, 27 Jan 2005 10:55:49 +0000 |
| Subject: | #31718 [Opn->Bgs]: parse_url: http:///foo.com/bar?joe=1 not recognized | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72923@lists.php.net to get a copy of this message | ||
ID: 31718
Updated by: derick@php.net
Reported By: cox at idecnet dot com
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: Linux
PHP Version: 4.3.10
New Comment:
there are 3 /'s after http: ... that is obviously wrong.
Previous Comments:
------------------------------------------------------------------------
[2005-01-27 11:49:17] cox at idecnet dot com
Description:
------------
The valid url format: http:///foo.com/bar?joe=1 is not
recognized.
Tomas V.V.Cox
Reproduce code:
---------------
php -r 'print_r(parse_url("http:///foo.com/bar?joe=1"));'
Expected result:
----------------
Array with the correct parts
Actual result:
--------------
Warning: parse_url(http:///foo.com/bar?joe=1): Unable to parse url in
Command line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31718&edit=1