|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-02-23 12:04 UTC] cmb@php.net
[2016-02-23 14:55 UTC] jona at mode dot com
[2021-04-21 12:21 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2021-04-21 12:21 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
Description: ------------ When a relative URL without a scheme and port, but with a port-like string (e.g. /example.com/foo:1234) is passed to parse_url(), it fails to parse the URL (returning false). Test script: --------------- var_dump(parse_url("/foo/bar:1")); Expected result: ---------------- array(1) { ["path"]=> string(10) "/foo/bar:1" } Actual result: -------------- false