From 0e084a927078d434bcc1952a2ab99fb541f2c25d Mon Sep 17 00:00:00 2001 From: achristensen07 Date: Fri, 8 Jun 2018 00:44:28 -0700 Subject: [PATCH] URL: test ' in queries For https://github.com/whatwg/url/pull/395. --- url/resources/urltestdata.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/url/resources/urltestdata.json b/url/resources/urltestdata.json index 8c87da2bf5dfee..e8a3c7928383ca 100644 --- a/url/resources/urltestdata.json +++ b/url/resources/urltestdata.json @@ -4015,6 +4015,37 @@ "search": "?`{}", "hash": "" }, + "byte is ' and url is special", + { + "input": "http://host/?'", + "base": "about:blank", + "href": "http://host/?%27", + "origin": "http://host", + "protocol": "http:", + "username": "", + "password": "", + "host": "host", + "hostname": "host", + "port": "", + "pathname": "/", + "search": "?%27", + "hash": "" + }, + { + "input": "notspecial://host/?'", + "base": "about:blank", + "href": "notspecial://host/?'", + "origin": "notspecial://host", + "protocol": "notspecial:", + "username": "", + "password": "", + "host": "host", + "hostname": "host", + "port": "", + "pathname": "/", + "search": "?'", + "hash": "" + }, "# Credentials in base", { "input": "/some/path",