Skip to content

Commit 2e64b13

Browse files
committed
Don't decode arbitrary %2e during URL parsing after all
This reverts commit 47d2089. See whatwg/url#87 for discussion.
1 parent 65507b5 commit 2e64b13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

url/urltestdata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,30 +1755,30 @@
17551755
{
17561756
"input": "http://example.com/foo/%2e%2",
17571757
"base": "about:blank",
1758-
"href": "http://example.com/foo/.%2",
1758+
"href": "http://example.com/foo/%2e%2",
17591759
"origin": "http://example.com",
17601760
"protocol": "http:",
17611761
"username": "",
17621762
"password": "",
17631763
"host": "example.com",
17641764
"hostname": "example.com",
17651765
"port": "",
1766-
"pathname": "/foo/.%2",
1766+
"pathname": "/foo/%2e%2",
17671767
"search": "",
17681768
"hash": ""
17691769
},
17701770
{
17711771
"input": "http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar",
17721772
"base": "about:blank",
1773-
"href": "http://example.com/..bar",
1773+
"href": "http://example.com/%2e.bar",
17741774
"origin": "http://example.com",
17751775
"protocol": "http:",
17761776
"username": "",
17771777
"password": "",
17781778
"host": "example.com",
17791779
"hostname": "example.com",
17801780
"port": "",
1781-
"pathname": "/..bar",
1781+
"pathname": "/%2e.bar",
17821782
"search": "",
17831783
"hash": ""
17841784
},

0 commit comments

Comments
 (0)