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

annevk left a comment (whatwg/url#397)

The specification's URL parser has those same restrictions. Though Chrome still has some failures per https://wpt.fyi/results/url, but not sure if those are for hosts or elsewhere.

To your larger point, yes, this should maybe be moved to the Fetch repository. I haven't quite determined what if anything we want to do here yet, but it might make sense to validate hosts before we send them over the network as Chromium and Gecko are doing.

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

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

Received on Thursday, 19 November 2026 18:19:59 UTC