Skip to content

Commit

Permalink
URL: backslash after authority for special URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Feb 16, 2024
1 parent ee84ad2 commit ece2f8c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions url/resources/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,36 @@
"search": "",
"hash": ""
},
{
"input": "http://a:b@c\\",
"base": null,
"href": "http://a:b@c/",
"origin": "http://c",
"protocol": "http:",
"username": "a",
"password": "b",
"host": "c",
"hostname": "c",
"port": "",
"pathname": "/",
"search": "",
"hash": ""
},
{
"input": "ws://a@b\\c",
"base": null,
"href": "ws://a@b/c",
"origin": "ws://b",
"protocol": "ws:",
"username": "a",
"password": "",
"host": "b",
"hostname": "b",
"port": "",
"pathname": "/c",
"search": "",
"hash": ""
},
{
"input": "foo:/",
"base": "http://example.org/foo/bar",
Expand Down

0 comments on commit ece2f8c

Please sign in to comment.