[whatwg/url] CheckHyphens isn't set to beStrict (Issue #820)

### What is the issue with the URL Standard?

https://url.spec.whatwg.org/#concept-domain-to-ascii has a _beStrict_ flag to validation. This flag affects the _UseSTD3ASCIIRules_ and _VerifyDnsLength_ flags for UTS 46 processing, but don't affect the _CheckHyphens_ flag. AFAICT, STD3 conformance requires setting all three to true, because _UseSTD3ASCIIRules_ enables a non-positional deny list, but _CheckHyphens_ also denies the hyphen as the first or last character of a label.

To the extent validation tries to check for STD3 conformance, it's strange not to also set _CheckHyphens_ to _beStrict_.

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

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

Received on Monday, 5 February 2024 10:05:25 UTC