Skip to content

Commit

Permalink
Non-special URLs shouldn't eat slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jan 24, 2017
1 parent 6236e2b commit b077017
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4949,5 +4949,47 @@
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "///",
"base": "sc://x/",
"href": "sc:///",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/",
"search": "",
"hash": ""
},
{
"input": "////",
"base": "sc://x/",
"href": "sc:////",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/",
"search": "",
"hash": ""
},
{
"input": "////x/",
"base": "sc://x/",
"href": "sc:////x/",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "//x/",
"search": "",
"hash": ""
}
]

0 comments on commit b077017

Please sign in to comment.