Re: [whatwg/url] Proposal: URL.parseIPv4() URL.parseIPv6() (Issue #696)

So ip-regex would return "not IPv4" for https://jsdom.github.io/whatwg-url/#url=aHR0cHM6Ly8x77yOMS4xLjEv&base=YWJvdXQ6Ymxhbms= (note the . (U+FF0E)), but the host parser would return an IPv4 address. A standalone `parseIPvv4` might also return "not IPv4" if it directly invokes the IPv4 parser. That seems problematic.

Can you elaborate on why `URLHost` would not satisfy these use cases?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/696#issuecomment-1154827078

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/696/1154827078@github.com>

Received on Tuesday, 14 June 2022 07:38:15 UTC