Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check a-label does not contain a trailing hyphen (#64)
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, (...)"
- Loading branch information