forked from publicsuffix/list
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linter: Expect rules to be in NFKC (publicsuffix#725)
For more info read https://docs.python.org/3/library/unicodedata.html under 'unicodedata.normalize'. See publicsuffix#715 (comment)
- Loading branch information
1 parent
77ef951
commit 00e7d2f
Showing
3 changed files
with
19 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
9: error: Rule must be NFKC: 'südtirol.it' | ||
11: warning: No PRIVATE section found |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// test: | ||
// - label contains non-NFKC character(s) | ||
// | ||
// best viewed with 'LC_ALL=C.UTF-8 vi <filename>' (or any other UTF-8 locale) | ||
|
||
// ===BEGIN ICANN DOMAINS=== | ||
|
||
südtirol.it | ||
südtirol.it | ||
|
||
// ===END ICANN DOMAINS=== |