Summary Files Commits Branches @commit @diff @stats
path: root / uri_test.c
diff options
context:
space:
mode:
Commitacde5dfc614ee549b5c1f0119c7e3c8c777c4a82 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08 07:42:06 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08 07:42:06 +0200
Files7a84d999ef7e84a8dc40293f7affb068ba01a2b6 /uri_test.c
goodwolf-1.0.1.tar
goodwolf-1.0.1.tar.gz
goodwolf-1.0.1.zip
Parenta49df8ad9869a47a10138738b38fd0ffdb95e402 (diff)
Parentdf18b8d0a3a0634e18b518e9cfc21fd8f4ea7908 (diff)
Merge branch 'release-1.0' into missy for 1.0.1 v1.0.1
Fixes ------- - Support for relative paths as command line arguments - Downloads tab: no longer resizes the main window - Manpage: Syntax is now correct, unbreaking GNU groff formatting. Changes ------- - When an user requests as new tab (ctrl-t, new tab button), switch to it - Downloads tab: A scrollable list view is used instead of a stack of labels
1 files changed, 4 insertions, 1 deletions
-rw-r--r--uri_test.c5
diff --git a/uri_test.c b/uri_test.c
index 5881120..a153817 100644
--- a/uri_test.c
+++ b/uri_test.c
@@ -29,10 +29,13 @@ badwolf_ensure_uri_scheme_test(void)
{fallback, "", TRUE},
{"http:///dev/null", "/dev/null", FALSE},
{"file:///dev/null", "/dev/null", TRUE},
+ {"http:///usr/../dev/null", "/usr/../dev/null", FALSE},
+ {"file:///dev/null", "/usr/../dev/null", TRUE},
{"http://example.org", "example.org", FALSE},
{"http://example.org", "example.org", TRUE},
{"http://", "http://", FALSE},
- {"http://", "http://", TRUE} //
+ {"http://", "http://", TRUE},
+ {"http://badwolf.c", "badwolf.c", FALSE} //
};
for(size_t i = 0; i < sizeof(cases) / sizeof(cases[0]); i++)