From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.3.0-pre2
PHP Bug Type:     URL related
Bug description:  parse_url broken on partial URLs

In 4.2.x, parsing the partial URL "/foo.php?a=b&c=d"
returned

array(2) {
  ["path"]=>
  string(8) "/foo.php"
  ["query"]=>
  string(7) "a=b&c=d"
}

but in 4.3.0-pre2 the query part is not recognized an
parse_url() return

array(1) {
  ["path"]=>
  string(16) "/foo.php?a=b&c=d"
}

The parse_url() function also have problems with URLs like
"file:///foo.txt", where the host is absent, and "mailto:user@;domain".
Both URLs were handled properly in 4.2.x

-- 
Edit bug report at http://bugs.php.net/?id=20420&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20420&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20420&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20420&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20420&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20420&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20420&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20420&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20420&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20420&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20420&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20420&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20420&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20420&r=isapi

Reply via email to