Adjust test: make_safe_uri no longer strips query params.
authorEmil Mikulic <emikulic@gmail.com>
Wed, 1 Jul 2020 10:11:25 +0000 (20:11 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Wed, 1 Jul 2020 10:15:03 +0000 (20:15 +1000)
devel/test_make_safe_uri.c

index 41fae78..b244797 100644 (file)
@@ -49,11 +49,6 @@ static char const *tests[] = {
     "/a/b/../../../c", NULL,
     /* don't forget consolidate_slashes */
     "//a///b////c/////", "/a/b/c/",
-    /* strip query params */
-    "/?a=b", "/",
-    "/index.html?", "/index.html",
-    "/index.html?a", "/index.html",
-    "/index.html?a=b", "/index.html",
     NULL
 };