[whatwg/url] "valid domain" does not match validation errors in the host parser (Issue #797)

Percent-encoding is a mismatch and tracked by #796.

However, "valid domain" also has a bunch of rules that the host parser does not attempt to log validation errors for. We should either make it log those validation errors or remove this mismatch. (To be specific, "valid domain" uses a different value for "domain to ASCII"'s _toStrict_ parameter and also invokes "domain to Unicode".)

(Then there's #245 about not defining this in an imperative manner, which would have made this harder to spot presumably. Hmm.)

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

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

Received on Wednesday, 4 October 2023 14:38:46 UTC