-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow hyphens anywhere in URL hostnames (#69)
This change brings galimatias’s ToASCII and ToUnicode behavior into conformance with the current URL spec, which requires the ToASCII and ToUnicode algorithms to be performed with the CheckHyphens flag set to false — which means that hyphens are allowed anywhere in the URL hostname, including leading and trailing hyphens. Fixes validator/validator#720 Thanks @KatieMFritz
- Loading branch information
1 parent
1e647f6
commit 242ae66
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters