Skip to content

Check a-label does not contain a trailing hyphen#64

Merged
kjd merged 2 commits intokjd:masterfrom
Viagenie:fix-alabel-trailing-hyphen
Dec 4, 2018
Merged

Check a-label does not contain a trailing hyphen#64
kjd merged 2 commits intokjd:masterfrom
Viagenie:fix-alabel-trailing-hyphen

Conversation

@j-bernard
Copy link
Copy Markdown
Contributor

From RFC5891 § 4.2.1
"If only an A-label was provided and the conversion to a U-label is
not performed, the registry MUST still verify that the A-label is
superficially valid, i.e., that it does not violate any of the rules
of Punycode encoding [RFC3492] such as the prohibition on trailing
hyphen-minus, (...)"

j-bernard and others added 2 commits June 12, 2018 14:47
From RFC5891 § 4.2.1
 "If only an A-label was provided and the conversion to a U-label is
  not performed, the registry MUST still verify that the A-label is
  superficially valid, i.e., that it does not violate any of the rules
  of Punycode encoding [RFC3492] such as the prohibition on trailing
  hyphen-minus, (...)"
@kjd kjd merged commit 032fc55 into kjd:master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants