PHP :: Bug #55399 :: parse_url() returning inccorrect value
[2011-08-11 11:08 UTC] chris at gedrim dot co dot uk
Description:
------------
parse_url() in 5.3.5 would return false when called with ':' (malformed url).
When called with ':' in 5.3.6 parse_url() returns:
array (
'path' => ':',
)
Test script:
---------------
var_dump(parse_url(':'));
Expected result:
----------------
bool(false)
Actual result:
--------------
array(1) {
["path"]=>
string(1) ":"
}
[2011-08-11 11:39 UTC] laruence@php.net
[2011-08-11 12:46 UTC] iliaa@php.net
-Assigned To: +Assigned To: iliaa
[2011-08-11 13:03 UTC] iliaa@php.net
-Status: Assigned +Status: Closed