Re: [whatwg/url] DNS (and other naming systems) vs the host parser (#397)

MattMenke2 left a comment (whatwg/url#397)

One difference here, which you may be aware of, but I think is good to take note of as we figure out how to better align behavior, is that Chrome will create URLs with many hosts it considers non-compliant, only applying host string restrictions based on the general URL spec, but will refuse to fetch them, instead of refusing to construct the URL at all.

I think it does actually reject URLs with HTTP[S] hosts with a numeric final label that aren't IPv4 addresses, and validates IPv6 address format as well, but is fairly permissive outside of that.

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

Message ID: <whatwg/url/issues/397/7014904867@github.com>

Received on Thursday, 19 November 2026 16:17:08 UTC