[gtk/wip/otte/for-master: 1/5] testsuite: Add a case with escaped Latin-1 code



commit 58e85c85e4fcddc04064e5aa22e2fc6d2f69f717
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jul 10 02:13:50 2020 +0200

    testsuite: Add a case with escaped Latin-1 code
    
    This came up in recent g_uri_escape() discussions.

 testsuite/css/data.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/testsuite/css/data.c b/testsuite/css/data.c
index 2f623df128..72533fcfb2 100644
--- a/testsuite/css/data.c
+++ b/testsuite/css/data.c
@@ -52,6 +52,9 @@ Test tests[] = {
   { "charset",
     "data:text/plain;charset=ISO-8859-1,Timm B\344der",
     "text/plain", CONTENTS("Timm Bäder") },
+  { "charset_escaped",
+    "data:text/plain;charset=ISO-8859-1,Timm%20B%E4der",
+    "text/plain", CONTENTS("Timm Bäder") },
   { "charset_base64",
     "data:text/plain;charset=ISO-8859-5;base64,wOPh29DdILjW0ePb0OLe0g==",
     "text/plain", CONTENTS("Руслан Ижбулатов") },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]