|
|
@@ -5342,6 +5342,49 @@
|
|
|
"search": "",
|
|
|
"hash": ""
|
|
|
},
|
|
|
+ "# Windows drive letter quirk with not empty host",
|
|
|
+ {
|
|
|
+ "input": "file://example.net/C:/",
|
|
|
+ "base": "about:blank",
|
|
|
+ "href": "file:///C:/",
|
|
|
+ "protocol": "file:",
|
|
|
+ "username": "",
|
|
|
+ "password": "",
|
|
|
+ "host": "",
|
|
|
+ "hostname": "",
|
|
|
+ "port": "",
|
|
|
+ "pathname": "/C:/",
|
|
|
+ "search": "",
|
|
|
+ "hash": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "input": "file://1.2.3.4/C:/",
|
|
|
+ "base": "about:blank",
|
|
|
+ "href": "file:///C:/",
|
|
|
+ "protocol": "file:",
|
|
|
+ "username": "",
|
|
|
+ "password": "",
|
|
|
+ "host": "",
|
|
|
+ "hostname": "",
|
|
|
+ "port": "",
|
|
|
+ "pathname": "/C:/",
|
|
|
+ "search": "",
|
|
|
+ "hash": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "input": "file://[1::8]/C:/",
|
|
|
+ "base": "about:blank",
|
|
|
+ "href": "file:///C:/",
|
|
|
+ "protocol": "file:",
|
|
|
+ "username": "",
|
|
|
+ "password": "",
|
|
|
+ "host": "",
|
|
|
+ "hostname": "",
|
|
|
+ "port": "",
|
|
|
+ "pathname": "/C:/",
|
|
|
+ "search": "",
|
|
|
+ "hash": ""
|
|
|
+ },
|
|
|
"# file URLs without base URL by Rimas Misevičius",
|
|
|
{
|
|
|
"input": "file:",
|