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 20, 2017
1 parent 85ec437 commit 3951ebc
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 @@ -4858,5 +4858,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 3951ebc

Please sign in to comment.