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 8f953c7 commit c452438
Showing 1 changed file with 58 additions and 1 deletion.
59 changes: 58 additions & 1 deletion url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5411,5 +5411,62 @@
"input": "non-special://[:80/",
"base": "about:blank",
"failure": true
}
},
"# file URLs with repeated slsashes by Daijirō Wachi",
{
"input": "file:////////",
"base": "about:blank",
"href": "file:///",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "file:\\\\\\\\",
"base": "about:blank",
"href": "file:///",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "file:////\\\\",
"base": "about:blank",
"href": "file:///",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "file:////////foo/bar",
"base": "about:blank",
"href": "file:///foo/bar",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/foo/bar",
"search": "",
"hash": ""
},
]

0 comments on commit c452438

Please sign in to comment.