Skip to content

Commit

Permalink
File URLs with repeated slsashes
Browse files Browse the repository at this point in the history
Related links
+ The URL Standard change: whatwg/url#234
+ The original bug report: whatwg/url#232
  • Loading branch information
watilde committed Feb 8, 2017
1 parent 82ed307 commit 800055d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5305,5 +5305,51 @@
"pathname": "joe@example.org,2001:foo/bar",
"search": "",
"hash": ""
},
"# file URLs with repeated slsashes by Daijirō Wachi",
{
"input": "file:////////",
"base": "about:blank",
"href": "file:///",
"origin": "null",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "file:\\\\\\\\",
"base": "about:blank",
"href": "file:///",
"origin": "null",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "file:////////foo/bar",
"base": "about:blank",
"href": "file:///foo/bar",
"origin": "null",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/foo/bar",
"search": "",
"hash": ""
}
]

0 comments on commit 800055d

Please sign in to comment.