ID: 31705 Updated by: [EMAIL PROTECTED] Reported By: cox at idecnet dot com -Status: Open +Status: Closed Bug Type: URL related Operating System: Linux PHP Version: 4.3.10 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-01-26 18:26:08] cox at idecnet dot com Description: ------------ This url format is not recognized by parse_url(): http://foo.com#bar Most browsers do recognize this format. Others like "http://foo.com?bar" are rightly parsed. Tomas V.V.Cox Reproduce code: --------------- php -r 'print_r(parse_url("http://foo.com#bar"));' Expected result: ---------------- Array ( [scheme] => http [host] => foo.com [fragment] => bar ) Actual result: -------------- Array ( [scheme] => http [host] => foo.com#bar ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31705&edit=1