]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib1560: use hex notation, drop non-ASCII exception
authorViktor Szakats <commit@vsz.me>
Tue, 13 May 2025 08:35:26 +0000 (10:35 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 13 May 2025 09:04:43 +0000 (11:04 +0200)
Closes #17334

.github/scripts/spacecheck.pl
tests/libtest/lib1560.c

index 992667e48be79f2347a2af67c26068a990f91f9c..97ebdee0c0cc3ae1396f7e0325b440830489df02 100755 (executable)
@@ -68,7 +68,6 @@ my @non_ascii = (
     "docs/CIPHERS.md",
     "docs/THANKS",
     "docs/THANKS-filter",
-    "tests/libtest/lib1560.c",
 );
 
 sub fn_match {
index c0898735ed3716598d4383c82e372185f1471a4b..4b5f8c75e1adb281a16c490d851c82085e140799 100644 (file)
@@ -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",