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

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

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@j-bernard

j-bernard commented Jun 12, 2018

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, (...)"

Check a-label does not contain a trailing hyphen
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, (...)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment