Re: [whatwg/url] Meta: UTS46 feedback (Issue #744)

Hi @annevk, regarding

> Steps don't always consider that domain labels can be empty, e.g., when CheckBidi is true the first subrule of "The Bidi Rule" inspects the first character of a label. I think that might also apply to CheckJoiners and potentially other steps. (I initially thought the problem here was VerifyDnsLength not being considered, but that check happens much later on in the processing model so it's something more fundamental.)

I am looking at the text of UTS46 and I don't see what should be changed. For CheckBidi and CheckJoiners, we just refer to the RFCs.

We have some checks like
- If CheckHyphens, the label must not contain a U+002D HYPHEN-MINUS character in both the third and fourth positions.
- The label must not begin with a combining mark, that is: General_Category=Mark.

but it's pretty obvious what to do when the label is empty, or has fewer than 4 characters.

Please clarify.

(FYI @macchiati)

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

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

Received on Monday, 10 July 2023 15:47:27 UTC