Skip to content

Commit

Permalink
Revert "align with allowing empty path for non-special URLs"
Browse files Browse the repository at this point in the history
This reverts commit 264c20c.
  • Loading branch information
annevk committed Jan 20, 2017
1 parent 264c20c commit 5406bb0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,15 @@
{
"input": "foo://",
"base": "http://example.org/foo/bar",
"href": "foo://",
"href": "foo:///",
"origin": "null",
"protocol": "foo:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"pathname": "/",
"search": "",
"hash": ""
},
Expand Down Expand Up @@ -4380,30 +4380,30 @@
{
"input": "#x",
"base": "sc://ñ",
"href": "sc://%C3%B1#x",
"href": "sc://%C3%B1/#x",
"origin": "null",
"protocol": "sc:",
"username": "",
"password": "",
"host": "%C3%B1",
"hostname": "%C3%B1",
"port": "",
"pathname": "",
"pathname": "/",
"search": "",
"hash": "#x"
},
{
"input": "?x",
"base": "sc://ñ",
"href": "sc://%C3%B1?x",
"href": "sc://%C3%B1/?x",
"origin": "null",
"protocol": "sc:",
"username": "",
"password": "",
"host": "%C3%B1",
"hostname": "%C3%B1",
"port": "",
"pathname": "",
"pathname": "/",
"search": "?x",
"hash": ""
},
Expand Down Expand Up @@ -4904,28 +4904,28 @@
{
"input": "sc://?",
"base": "about:blank",
"href": "sc://?",
"href": "sc:///?",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"pathname": "/",
"search": "",
"hash": ""
},
{
"input": "sc://#",
"base": "about:blank",
"href": "sc://#",
"href": "sc:///#",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "",
"pathname": "/",
"search": "",
"hash": ""
}
Expand Down

0 comments on commit 5406bb0

Please sign in to comment.