mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 06:49:41 +03:00
Tests: Add tests for file: URL credentials and host handling.
This commit is contained in:
parent
8e96e9bc27
commit
1cced51440
@ -136,6 +136,12 @@ static const struct test_pairs create_tests[] = {
|
||||
{ "file:////", "file:////" },
|
||||
{ "file://///", "file://///" },
|
||||
|
||||
{ "file://localhost/", "file:///" },
|
||||
{ "file://foobar/", "file:///" },
|
||||
{ "file://foobar", "file:///" },
|
||||
{ "file:///foobar", "file:///foobar" },
|
||||
{ "file://tlsa@foo/", "file:///" },
|
||||
|
||||
/* test case insensitivity */
|
||||
{ "HTTP://a/b", "http://a/b" },
|
||||
{ "ftp://a/b", "ftp://a/b" },
|
||||
|
Loading…
Reference in New Issue
Block a user