mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Add test for purely numeric subdomains (currently fails)
svn path=/trunk/netsurf/; revision=11289
This commit is contained in:
parent
4cd21d9934
commit
f9d10d83bd
@ -176,8 +176,9 @@ int main(void)
|
||||
assert(urldb_add_url("http://www2.2checkout.com/"));
|
||||
assert(urldb_get_url("http://www2.2checkout.com/"));
|
||||
|
||||
// assert(urldb_add_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg"));
|
||||
// assert(urldb_get_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg"));
|
||||
/* Numeric subdomains */
|
||||
assert(urldb_add_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg"));
|
||||
assert(urldb_get_url("http://2.bp.blogspot.com/_448y6kVhntg/TSekubcLJ7I/AAAAAAAAHJE/yZTsV5xT5t4/s1600/covers.jpg"));
|
||||
|
||||
/* Valid path */
|
||||
assert(urldb_set_cookie("name=value;Path=/\r\n", "http://www.google.com/", NULL));
|
||||
|
Loading…
Reference in New Issue
Block a user