Adjust test: make_safe_uri no longer strips query params.
[darkhttpd] / 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
 };