← Back to release summary

URL Standard-compatible IPv4 embedded IPv6 host parser

Category
Miscellaneous
Type
Chromium catches up
Status
Enabled by default (Chrome 117)
Intent stage
None

WPT details: https://wpt.fyi/results/url/url-constructor.any.html%3Fexclude%3D(file%7Cjavascript%7Cmailto)?label=experimental&label=master&aligned&view=subtest One of the test cases are: Parsing: <http://[::1.2.3.]> against <http://other.com/>

Summary

The behavior of parsing IPv4 embedded IPv6 host parser will be updated to strictly follow the web URL standard: https://url.spec.whatwg.org/#concept-ipv6-parser The introduced restrictions on the IPv6 address are: * The embedded IPv4 address shall always consist of 4 parts. Addresses with less than 4 parts like http://[::1.2] will be no longer valid. The feature is a part of the URL interop 2023.

Standards & signals

Ecosystem

Samples: https://chromium-review.googlesource.com/c/chromium/src/+/4206417

View on chromestatus.com