mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Adjust test: make_safe_uri no longer strips query params.
This commit is contained in:
parent
e09f869072
commit
6c7fb762ac
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user