From 800055d3ddfcf570bd1cee2e8eca232ac3a402f4 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Wed, 8 Feb 2017 18:29:17 +0100 Subject: [PATCH] File URLs with repeated slsashes Related links + The URL Standard change: https://github.com/whatwg/url/pull/234 + The original bug report: https://github.com/whatwg/url/issues/232 --- url/urltestdata.json | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/url/urltestdata.json b/url/urltestdata.json index 8a2707359f74651..a9a334420e5d508 100644 --- a/url/urltestdata.json +++ b/url/urltestdata.json @@ -5305,5 +5305,51 @@ "pathname": "joe@example.org,2001:foo/bar", "search": "", "hash": "" + }, + "# file URLs with repeated slsashes by Daijirō Wachi", + { + "input": "file:////////", + "base": "about:blank", + "href": "file:///", + "origin": "null", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, + { + "input": "file:\\\\\\\\", + "base": "about:blank", + "href": "file:///", + "origin": "null", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, + { + "input": "file:////////foo/bar", + "base": "about:blank", + "href": "file:///foo/bar", + "origin": "null", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "/foo/bar", + "search": "", + "hash": "" } ]