Skip to content

Commit

Permalink
Don't decode arbitrary %2e during URL parsing after all
Browse files Browse the repository at this point in the history
This reverts commit 47d2089.

See whatwg/url#87 for discussion.
  • Loading branch information
annevk committed Dec 29, 2016
1 parent 5be497b commit a45fca2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1785,30 +1785,30 @@
{
"input": "http://example.com/foo/%2e%2",
"base": "about:blank",
"href": "http://example.com/foo/.%2",
"href": "http://example.com/foo/%2e%2",
"origin": "http://example.com",
"protocol": "http:",
"username": "",
"password": "",
"host": "example.com",
"hostname": "example.com",
"port": "",
"pathname": "/foo/.%2",
"pathname": "/foo/%2e%2",
"search": "",
"hash": ""
},
{
"input": "http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar",
"base": "about:blank",
"href": "http://example.com/..bar",
"href": "http://example.com/%2e.bar",
"origin": "http://example.com",
"protocol": "http:",
"username": "",
"password": "",
"host": "example.com",
"hostname": "example.com",
"port": "",
"pathname": "/..bar",
"pathname": "/%2e.bar",
"search": "",
"hash": ""
},
Expand Down

0 comments on commit a45fca2

Please sign in to comment.