Re: [whatwg/url] RFC 4291 is not really sufficient to define "valid IPv6-address string" (Issue #916)

annevk left a comment (whatwg/url#916)

We should probably define it ourselves then. It seems a bit weird to allow leading zeros for IPv6 but not IPv4. I would lean towards disallowing it for both, but the parser does allow it currently. I think the parser mainly matches browsers / 3986 and did not consider validation errors much.

Case-insensitive does make sense.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/916#issuecomment-4841793548
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/916/4841793548@github.com>

Received on Tuesday, 30 June 2026 09:19:51 UTC