mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Test for consolidate_slashes() too.
This commit is contained in:
parent
d7707a9216
commit
dc63087421
@ -46,6 +46,8 @@ static char * const tests[] = {
|
|||||||
"/abc/../def/.././../", NULL,
|
"/abc/../def/.././../", NULL,
|
||||||
"/a/b/c/../../d/", "/a/d/",
|
"/a/b/c/../../d/", "/a/d/",
|
||||||
"/a/b/../../../c", NULL,
|
"/a/b/../../../c", NULL,
|
||||||
|
/* don't forget consolidate_slashes */
|
||||||
|
"//a///b////c/////", "/a/b/c/",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user