You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: parse_url() IPv6 bracketed host — host truncated at first colon, port dropped (ext/standard/url.c) #13739
parse_url() mishandles IPv6 literal authorities in bracket notation. The VM splits host:port on the first colon inside the authority, so bracketed addresses are truncated and ports are lost.
URL
Zend host
VM host today
http://[::1]/
[::1]
[
http://[::1]:8080/path
[::1] + port=8080
[ (no port)
http://[2001:db8::1]/
[2001:db8::1]
[2001
ftp://user:pass@[::1]:21/
[::1] + port=21
[
php-src treats [...] as an opaque host token and only parses :portafter the closing ].
Activity
PurHur commentedon Jun 29, 2026
claim: PHP Compiler STD Lib — batch (issues #13740, #13739)
Fix parse_url() IPv6 bracketed host and port parsing (#13739). (#13745)
PurHur commentedon Jun 29, 2026
Merged in PR #13745. VM + JIT compliance + AOT lint green for IPv6 bracketed host repro.