Skip to content
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

idnatest Punycode with uppercase ASCII #830

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion unicodetools/data/idna/dev/IdnaTestV2.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IdnaTestV2.txt
# Date: 2024-05-22, 22:45:49 GMT
# Date: 2024-05-23, 04:13:59 GMT
# © 2024 Unicode®, Inc.
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
# For terms of use and license, see https://www.unicode.org/terms_of_use.html
Expand Down Expand Up @@ -559,6 +559,13 @@ unicode.org; ; ; ; ; ; # unicode.org
xn--snl253bgitxhzwu2arn60c; 陋㛼当𤎫竮䗗; ; xn--snl253bgitxhzwu2arn60c; ; ; # 陋㛼当𤎫竮䗗
電𡍪弳䎫窮䵗; ; ; xn--kbo60w31ob3z6t3av9z5b; ; ; # 電𡍪弳䎫窮䵗
xn--kbo60w31ob3z6t3av9z5b; 電𡍪弳䎫窮䵗; ; xn--kbo60w31ob3z6t3av9z5b; ; ; # 電𡍪弳䎫窮䵗
xn--A-1ga; aö; ; xn--a-1ga; ; ; # aö
aö; ; ; xn--a-1ga; ; ; # aö
ao\u0308; aö; ; xn--a-1ga; ; ; # aö
AO\u0308; aö; ; xn--a-1ga; ; ; # aö
AÖ; aö; ; xn--a-1ga; ; ; # aö
Aö; aö; ; xn--a-1ga; ; ; # aö
Ao\u0308; aö; ; xn--a-1ga; ; ; # aö

# RANDOMIZED TESTS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -968,5 +968,11 @@ public static UnicodeSet getIdna2008Valid() {
.appendCodePoint(0x7AEE)
.appendCodePoint(0x45D7)
.toString(),
// unicodetools issue #747:
// IdnaTestV2.txt should test for valid input with upper case in the ASCII part of Punycode
// Henri Sivonen:
// IdnaTestV2.txt missed a bug in the UTS 46 implementation that I'm writing due to
// not testing an upper-case letter in the ASCII part of Punycode when there are no errors.
"xn--A-1ga",
};
}
Loading