Skip to content

Commit

Permalink
File URLs with percent-encoded Windows drive letters
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Feb 2, 2017
1 parent e94c604 commit 6179165
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4767,6 +4767,35 @@
"search": "",
"hash": ""
},
"# file URLs containing percent-encoded Windows drive letters (shouldn't work)",
{
"input": "file:///C%3A/",
"base": "about:blank",
"href": "file:///C%3A/",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/C%3A/",
"search": "",
"hash": ""
},
{
"input": "file:///C%7C/",
"base": "about:blank",
"href": "file:///C%7C/",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/C%7C/",
"search": "",
"hash": ""
},
"# file URLs relative to other file URLs (via https://github.com/jsdom/whatwg-url/pull/60)",
{
"input": "pix/submit.gif",
Expand Down

0 comments on commit 6179165

Please sign in to comment.