Re: [whatwg/url] Make hostname state return early if a port is given (#604)

It seems a bit late now, but I think if host with port is given, then 2.2. step (added by this PR) must emit validation error.
Such practices are used in other steps (for example in 3.2.) when given value is not accepted.
If you agree, I can prepare PR.

-- 
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/pull/604#issuecomment-844291278

Received on Wednesday, 19 May 2021 16:58:26 UTC