Skip to content

Commit 47d2089

Browse files
committed
Update URL tests for whatwg/url#77
%2e is now converted to . wherever it occurs in the path.
1 parent d91804f commit 47d2089

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

url/urltestdata.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,30 +1760,30 @@
17601760
{
17611761
"input": "http://example.com/foo/%2e%2",
17621762
"base": "about:blank",
1763-
"href": "http://example.com/foo/%2e%2",
1763+
"href": "http://example.com/foo/.%2",
17641764
"origin": "http://example.com",
17651765
"protocol": "http:",
17661766
"username": "",
17671767
"password": "",
17681768
"host": "example.com",
17691769
"hostname": "example.com",
17701770
"port": "",
1771-
"pathname": "/foo/%2e%2",
1771+
"pathname": "/foo/.%2",
17721772
"search": "",
17731773
"hash": ""
17741774
},
17751775
{
17761776
"input": "http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar",
17771777
"base": "about:blank",
1778-
"href": "http://example.com/%2e.bar",
1778+
"href": "http://example.com/..bar",
17791779
"origin": "http://example.com",
17801780
"protocol": "http:",
17811781
"username": "",
17821782
"password": "",
17831783
"host": "example.com",
17841784
"hostname": "example.com",
17851785
"port": "",
1786-
"pathname": "/%2e.bar",
1786+
"pathname": "/..bar",
17871787
"search": "",
17881788
"hash": ""
17891789
},

0 commit comments

Comments
 (0)