From: Viktor Szakats Date: Tue, 13 May 2025 08:35:26 +0000 (+0200) Subject: lib1560: use hex notation, drop non-ASCII exception X-Git-Tag: curl-8_14_0~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e270881a5d566a0b04fbc85e75690c21ea4613b4;p=thirdparty%2Fcurl.git lib1560: use hex notation, drop non-ASCII exception Closes #17334 --- diff --git a/.github/scripts/spacecheck.pl b/.github/scripts/spacecheck.pl index 992667e48b..97ebdee0c0 100755 --- a/.github/scripts/spacecheck.pl +++ b/.github/scripts/spacecheck.pl @@ -68,7 +68,6 @@ my @non_ascii = ( "docs/CIPHERS.md", "docs/THANKS", "docs/THANKS-filter", - "tests/libtest/lib1560.c", ); sub fn_match { diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c index c0898735ed..4b5f8c75e1 100644 --- a/tests/libtest/lib1560.c +++ b/tests/libtest/lib1560.c @@ -213,11 +213,21 @@ static const struct testcase get_parts_list[] ={ "https | [11] | [12] | [13] | [30] | [15] | / | [16] | [17]", 0, CURLU_PUNYCODE, CURLUE_OK}, #endif - /* https://ℂᵤⓇℒ。𝐒🄴 */ + /* + https://codepoints.net/U+2102 Double-Struck Capital C + https://codepoints.net/U+1d64 Latin Subscript Small Letter U + https://codepoints.net/U+24c7 Circled Latin Capital Letter R + https://codepoints.net/U+2112 Script Capital L + https://codepoints.net/U+3002 Ideographic Full Stop + https://codepoints.net/U+1d412 Mathematical Bold Capital S + https://codepoints.net/U+1f134 Squared Latin Capital Letter E + */ {"https://" "%e2%84%82%e1%b5%a4%e2%93%87%e2%84%92%e3%80%82%f0%9d%90%92%f0%9f%84%b4", - "https | [11] | [12] | [13] | ℂᵤⓇℒ。𝐒🄴 | [15] |" - " / | [16] | [17]", + "https | [11] | [12] | [13] | " + "\xe2\x84\x82\xe1\xb5\xa4\xe2\x93\x87\xe2\x84\x92" + "\xe3\x80\x82\xf0\x9d\x90\x92\xf0\x9f\x84\xb4" + " | [15] | / | [16] | [17]", 0, 0, CURLUE_OK}, {"https://" "%e2%84%82%e1%b5%a4%e2%93%87%e2%84%92%e3%80%82%f0%9d%90%92%f0%9f%84%b4",