|
4481 | 4481 | "search": "", |
4482 | 4482 | "hash": "" |
4483 | 4483 | }, |
4484 | | - { |
4485 | | - "input": "sc://\u001F!\"$&'()*+,-.;<=>^_`{|}~/", |
4486 | | - "base": "about:blank", |
4487 | | - "href": "sc://%1F!\"$&'()*+,-.;<=>^_`{|}~/", |
4488 | | - "origin": "null", |
4489 | | - "protocol": "sc:", |
4490 | | - "username": "", |
4491 | | - "password": "", |
4492 | | - "host": "%1F!\"$&'()*+,-.;<=>^_`{|}~", |
4493 | | - "hostname": "%1F!\"$&'()*+,-.;<=>^_`{|}~", |
4494 | | - "port": "", |
4495 | | - "pathname": "/", |
4496 | | - "search": "", |
4497 | | - "hash": "" |
4498 | | - }, |
4499 | 4484 | { |
4500 | 4485 | "input": "sc://\u0000/", |
4501 | 4486 | "base": "about:blank", |
|
4649 | 4634 | "search": "", |
4650 | 4635 | "hash": "" |
4651 | 4636 | }, |
| 4637 | + "Forbidden host code points", |
| 4638 | + { |
| 4639 | + "input": "http://a<b", |
| 4640 | + "base": "about:blank", |
| 4641 | + "failure": true |
| 4642 | + }, |
| 4643 | + { |
| 4644 | + "input": "http://a>b", |
| 4645 | + "base": "about:blank", |
| 4646 | + "failure": true |
| 4647 | + }, |
| 4648 | + { |
| 4649 | + "input": "http://a^b", |
| 4650 | + "base": "about:blank", |
| 4651 | + "failure": true |
| 4652 | + }, |
| 4653 | + { |
| 4654 | + "input": "non-special://a<b", |
| 4655 | + "base": "about:blank", |
| 4656 | + "failure": true |
| 4657 | + }, |
| 4658 | + { |
| 4659 | + "input": "non-special://a>b", |
| 4660 | + "base": "about:blank", |
| 4661 | + "failure": true |
| 4662 | + }, |
| 4663 | + { |
| 4664 | + "input": "non-special://a^b", |
| 4665 | + "base": "about:blank", |
| 4666 | + "failure": true |
| 4667 | + }, |
| 4668 | + "Allowed host code points", |
| 4669 | + { |
| 4670 | + "input": "http://\u001F!\"$&'()*+,-.;=_`{|}~/", |
| 4671 | + "base": "about:blank", |
| 4672 | + "href": "http://\u001F!\"$&'()*+,-.;=_`{|}~/", |
| 4673 | + "origin": "http://\u001F!\"$&'()*+,-.;=_`{|}~", |
| 4674 | + "protocol": "http:", |
| 4675 | + "username": "", |
| 4676 | + "password": "", |
| 4677 | + "host": "\u001F!\"$&'()*+,-.;=_`{|}~", |
| 4678 | + "hostname": "\u001F!\"$&'()*+,-.;=_`{|}~", |
| 4679 | + "port": "", |
| 4680 | + "pathname": "/", |
| 4681 | + "search": "", |
| 4682 | + "hash": "" |
| 4683 | + }, |
| 4684 | + { |
| 4685 | + "input": "sc://\u001F!\"$&'()*+,-.;=_`{|}~/", |
| 4686 | + "base": "about:blank", |
| 4687 | + "href": "sc://%1F!\"$&'()*+,-.;=_`{|}~/", |
| 4688 | + "origin": "null", |
| 4689 | + "protocol": "sc:", |
| 4690 | + "username": "", |
| 4691 | + "password": "", |
| 4692 | + "host": "%1F!\"$&'()*+,-.;=_`{|}~", |
| 4693 | + "hostname": "%1F!\"$&'()*+,-.;=_`{|}~", |
| 4694 | + "port": "", |
| 4695 | + "pathname": "/", |
| 4696 | + "search": "", |
| 4697 | + "hash": "" |
| 4698 | + }, |
4652 | 4699 | "# Hosts and percent-encoding", |
4653 | 4700 | { |
4654 | 4701 | "input": "ftp://example.com%80/", |
|
0 commit comments