Skip to content

Commit

Permalink
Update URL tests for whatwg/url#77
Browse files Browse the repository at this point in the history
%2e is now converted to . wherever it occurs in the path.
  • Loading branch information
domenic committed Jan 19, 2016
1 parent d91804f commit 47d2089
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 @@ -1760,30 +1760,30 @@
{
"input": "http://example.com/foo/%2e%2",
"base": "about:blank",
"href": "http://example.com/foo/%2e%2",
"href": "http://example.com/foo/.%2",
"origin": "http://example.com",
"protocol": "http:",
"username": "",
"password": "",
"host": "example.com",
"hostname": "example.com",
"port": "",
"pathname": "/foo/%2e%2",
"pathname": "/foo/.%2",
"search": "",
"hash": ""
},
{
"input": "http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar",
"base": "about:blank",
"href": "http://example.com/%2e.bar",
"href": "http://example.com/..bar",
"origin": "http://example.com",
"protocol": "http:",
"username": "",
"password": "",
"host": "example.com",
"hostname": "example.com",
"port": "",
"pathname": "/%2e.bar",
"pathname": "/..bar",
"search": "",
"hash": ""
},
Expand Down

0 comments on commit 47d2089

Please sign in to comment.