Summary Files Commits Branches @commit @diff @stats
path: root / uri_test.c
diff options
context:
space:
mode:
1 files changed, 2 insertions, 0 deletions
-rw-r--r--uri_test.c2
diff --git a/uri_test.c b/uri_test.c
index 28bdde9..47fda73 100644
--- a/uri_test.c
+++ b/uri_test.c
@@ -29,6 +29,8 @@ badwolf_ensure_uri_scheme_test(void)
{fallback, "", TRUE},
{"http:///dev/null", "/dev/null", FALSE},
{"file:///dev/null", "/dev/null", TRUE},
+ {"http:///root", "/root", FALSE},
+ {"file:///root", "/root", TRUE},
{"http:///usr/../dev/null", "/usr/../dev/null", FALSE},
{"file:///dev/null", "/usr/../dev/null", TRUE},
{"http://example.org", "example.org", FALSE},