|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-16 10:59 UTC] johannes@php.net
[2005-08-16 16:20 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ parse_url doesn't support "special" characters like + or . in the scheme name anymore Reproduce code: --------------- <?php // works var_dump(parse_url("foobar://baz@bang/bla")) // doesn't work at all var_dump(parse_url("foo+bar://baz@bang/bla"));' ?> Expected result: ---------------- array(4) { ["scheme"]=> string(6) "foo+bar" ["host"]=> string(4) "bang" ["user"]=> string(3) "baz" ["path"]=> string(4) "/bla" } Actual result: -------------- array(2) { ["host"]=> string(7) "foo+bar" ["path"]=> string(14) "//baz@bang/bla" }