Re: [whatwg/url] Hexadecimal IPv4 hosts aren't parsed correctly (#632)

Can you explain why?

As far as I can tell https://url.spec.whatwg.org/#concept-host-parser calls https://url.spec.whatwg.org/#ends-in-a-number-checker which calls https://url.spec.whatwg.org/#ipv4-number-parser which does not return failure for that input. That eventually results in the host parser invoking https://url.spec.whatwg.org/#concept-ipv4-parser for the same input and returning the result.

-- 
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/632#issuecomment-903529883

Received on Monday, 23 August 2021 07:56:31 UTC