url: forbid pipe in URL host · nodejs/node@570fbce
@@ -4682,30 +4682,30 @@
46824682 },
46834683"Allowed host code points",
46844684 {
4685-"input": "http://\u001F!\"$&'()*+,-.;=_`{|}~/",
4685+"input": "http://\u001F!\"$&'()*+,-.;=_`{}~/",
46864686"base": "about:blank",
4687-"href": "http://\u001F!\"$&'()*+,-.;=_`{|}~/",
4688-"origin": "http://\u001F!\"$&'()*+,-.;=_`{|}~",
4687+"href": "http://\u001F!\"$&'()*+,-.;=_`{}~/",
4688+"origin": "http://\u001F!\"$&'()*+,-.;=_`{}~",
46894689"protocol": "http:",
46904690"username": "",
46914691"password": "",
4692-"host": "\u001F!\"$&'()*+,-.;=_`{|}~",
4693-"hostname": "\u001F!\"$&'()*+,-.;=_`{|}~",
4692+"host": "\u001F!\"$&'()*+,-.;=_`{}~",
4693+"hostname": "\u001F!\"$&'()*+,-.;=_`{}~",
46944694"port": "",
46954695"pathname": "/",
46964696"search": "",
46974697"hash": ""
46984698 },
46994699 {
4700-"input": "sc://\u001F!\"$&'()*+,-.;=_`{|}~/",
4700+"input": "sc://\u001F!\"$&'()*+,-.;=_`{}~/",
47014701"base": "about:blank",
4702-"href": "sc://%1F!\"$&'()*+,-.;=_`{|}~/",
4702+"href": "sc://%1F!\"$&'()*+,-.;=_`{}~/",
47034703"origin": "null",
47044704"protocol": "sc:",
47054705"username": "",
47064706"password": "",
4707-"host": "%1F!\"$&'()*+,-.;=_`{|}~",
4708-"hostname": "%1F!\"$&'()*+,-.;=_`{|}~",
4707+"host": "%1F!\"$&'()*+,-.;=_`{}~",
4708+"hostname": "%1F!\"$&'()*+,-.;=_`{}~",
47094709"port": "",
47104710"pathname": "/",
47114711"search": "",
52025202"search": "",
52035203"hash": ""
52045204 },
5205+ {
5206+"input": "file://%43%3A",
5207+"base": "about:blank",
5208+"failure": true
5209+ },
5210+ {
5211+"input": "file://%43%7C",
5212+"base": "about:blank",
5213+"failure": true
5214+ },
5215+ {
5216+"input": "file://%43|",
5217+"base": "about:blank",
5218+"failure": true
5219+ },
5220+ {
5221+"input": "file://C%7C",
5222+"base": "about:blank",
5223+"failure": true
5224+ },
5225+ {
5226+"input": "file://%43%7C/",
5227+"base": "about:blank",
5228+"failure": true
5229+ },
5230+ {
5231+"input": "https://%43%7C/",
5232+"base": "about:blank",
5233+"failure": true
5234+ },
5235+ {
5236+"input": "asdf://%43|/",
5237+"base": "about:blank",
5238+"failure": true
5239+ },
5240+ {
5241+"input": "asdf://%43%7C/",
5242+"base": "about:blank",
5243+"href": "asdf://%43%7C/",
5244+"origin": "null",
5245+"protocol": "asdf:",
5246+"username": "",
5247+"password": "",
5248+"host": "%43%7C",
5249+"hostname": "%43%7C",
5250+"port": "",
5251+"pathname": "/",
5252+"search": "",
5253+"hash": ""
5254+ },
52055255"# file URLs relative to other file URLs (via https://github.com/jsdom/whatwg-url/pull/60)",
52065256 {
52075257"input": "pix/submit.gif",