From dc630874216a394c1d679c5b2d5712cc974c5f23 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Wed, 13 Dec 2006 08:17:56 +0000 Subject: [PATCH] Test for consolidate_slashes() too. --- test_make_safe_uri.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_make_safe_uri.c b/test_make_safe_uri.c index 0934022..082d5ff 100644 --- a/test_make_safe_uri.c +++ b/test_make_safe_uri.c @@ -46,6 +46,8 @@ static char * const tests[] = { "/abc/../def/.././../", NULL, "/a/b/c/../../d/", "/a/d/", "/a/b/../../../c", NULL, + /* don't forget consolidate_slashes */ + "//a///b////c/////", "/a/b/c/", NULL };