Adjust test: make_safe_uri no longer strips query params.

This commit is contained in:
Emil Mikulic 2020-07-01 20:11:25 +10:00
parent e09f869072
commit 6c7fb762ac

View File

@ -49,11 +49,6 @@ static char const *tests[] = {
"/a/b/../../../c", NULL, "/a/b/../../../c", NULL,
/* don't forget consolidate_slashes */ /* don't forget consolidate_slashes */
"//a///b////c/////", "/a/b/c/", "//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 NULL
}; };