Re: [whatwg/url] IPv4 host parser + site definition seems potentially dangerous. (#560)

It does seem problematic that not all registrable domains can be parsed as a domain. I don't know if that's also problematic for the public suffix (we don't currently defined that as a domain it seems), but I could be convinced.

I think that does argue for solving this in the URL parser somehow, rather than fetch, at least if the last two labels of a domain are numeric. (Although maybe we should block it there too if there are entry points that do not go through the URL parser. Unsure.)

Changing the IPv4 parser itself might be an interesting alternative, but also seems quite a bit riskier?

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

Received on Monday, 30 November 2020 11:03:04 UTC