From ece2f8c3e878bb2a345eee11313454d24dd1a3d0 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 16 Feb 2024 15:05:13 -0800 Subject: [PATCH] URL: backslash after authority for special URLs --- url/resources/urltestdata.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/url/resources/urltestdata.json b/url/resources/urltestdata.json index 69767a20db90bf..9f1be0449c63d3 100644 --- a/url/resources/urltestdata.json +++ b/url/resources/urltestdata.json @@ -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",