Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify output of PSL is in A-Labels #484

Merged
merged 4 commits into from
Apr 28, 2020
Merged

Clarify output of PSL is in A-Labels #484

merged 4 commits into from
Apr 28, 2020

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 26, 2020

Closes #396.


Preview | Diff

url.bs Outdated
<a href="https://publicsuffix.org/list/">Public Suffix List algorithm</a> with <var>host</var> as
domain. [[!PSL]]

<li><p>Assert: <var>publicSuffix</var> is encoded using A-Labels. [[!UTS46]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UTS 46 doesn't really define what an A-label is, as it only seeks to define a replacement for the processing algorithm. In fact, it defers the definition to RFC 5890 and doesn't use the word at all itself.

Additionally, the term "A-label" exclusively refers to validly encoded labels with xn-- prefix. To refer to all ASCII-encoded labels, it may be better to use either of the following:

Assert: publicSuffix contains only ASCII characters.

or

Assert: Labels in publicSuffix must be either A-labels or NR-LDH labels. [RFC5890]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to use UTS46 as an intermediary, but as A-Label doesn't work and NR-LDH isn't mentioned there we'll just assert ASCII code points.

@annevk annevk merged commit c28ff95 into master Apr 28, 2020
@annevk annevk deleted the annevk/a-labels branch April 28, 2020 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Clarify A-label vs U-label for public suffix / registrable domain
2 participants