From 6c7fb762ac92ee02c1f280691f23e88a69e4acad Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Wed, 1 Jul 2020 20:11:25 +1000 Subject: [PATCH] Adjust test: make_safe_uri no longer strips query params. --- devel/test_make_safe_uri.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/devel/test_make_safe_uri.c b/devel/test_make_safe_uri.c index 41fae78..b244797 100644 --- a/devel/test_make_safe_uri.c +++ b/devel/test_make_safe_uri.c @@ -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 };