Skip to content

Commit

Permalink
URL: test ' in queries
Browse files Browse the repository at this point in the history
  • Loading branch information
achristensen07 authored and annevk committed Jun 8, 2018
1 parent fb6713e commit 0e084a9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions url/resources/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0e084a9

Please sign in to comment.