zlint icon indicating copy to clipboard operation
zlint copied to clipboard

Add lint to detect Domain Labels that violate LDH-Label syntax

Open CBonnell opened this issue 4 years ago • 2 comments

While there are several lints that checks for the syntactic correctness of domain labels, there appears to be no comprehensive check to ensure that all labels of a FQDN are LDH Labels.

While some of the checks in this lint are duplicative of other lints (label too long, etc.), I think it's best to have a single lint that comprehensively checks for all issues related to LDH Labels/preferred name syntax.

As a future step, the now-redundant lints could be removed.

CBonnell avatar Oct 29 '21 18:10 CBonnell

Should this lint also check for any reserved LDH Labels that are not P-Labels?

In relation to: https://bugzilla.mozilla.org/show_bug.cgi?id=1740493

vanbroup avatar Dec 16 '21 16:12 vanbroup

Should this lint also check for any reserved LDH Labels that are not P-Labels?

In relation to: https://bugzilla.mozilla.org/show_bug.cgi?id=1740493

Hi Paul, that lint was implemented as part of #635.

CBonnell avatar Dec 16 '21 17:12 CBonnell