- From: Harald Alvestrand <notifications@github.com>
- Date: Tue, 17 Jan 2023 05:00:25 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 January 2023 13:00:38 UTC
This is the problematic statement in UTS#46: https://unicode.org/reports/tr46/#ProcessingStepBreak "Break the string into labels at U+002E" The problem is that a.b.c. is using the "preferred name syntax" from RFC 1035 section 2.3.1, where empty labels are disallowed - and UTS#46 is ignoring that. The grammar rule is "<label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]" - this was relaxed to allow leading digits in RFC 1123 section 2.1, but there was never a relaxation of the rule that there should be at least one character. A competent DNS name processor should: a) disallow any domain name with two consecutive dots b) interpret a trailing dot as "this domain name is rooted at the DNS root", not as a trailing empty label -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/543#issuecomment-1385388815 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/543/1385388815@github.com>
Received on Tuesday, 17 January 2023 13:00:38 UTC