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 27, 2017
1 parent 242d577 commit 2fde830
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 @@ -5000,5 +5000,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 2fde830

Please sign in to comment.