]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1980: verify sigv4 normalization query with + and spaces
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Feb 2026 12:21:26 +0000 (13:21 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Feb 2026 12:41:42 +0000 (13:41 +0100)
Ref: #20543
Closes #20548

tests/unit/unit1980.c

index 9fa10c538c7edac098e05c538140cf6e42fa012e..aa08c44e6aa82497023a158604442d74c115d27c 100644 (file)
@@ -74,6 +74,11 @@ static CURLcode test_unit1980(const char *arg)
       "Param-3=Value3&Param=Value2&%E1%88%B4=Value1",
       "%E1%88%B4=Value1&Param=Value2&Param-3=Value3"
     },
+    {
+      "space-plus",
+      "p3= &p1=+&p2=%20",
+      "p1=%20&p2=%20&p3=%20"
+    },
   };
 
   size_t i;