|
1141 | 1141 | "host": "example.com",
|
1142 | 1142 | "hostname": "example.com"
|
1143 | 1143 | }
|
| 1144 | + }, |
| 1145 | + { |
| 1146 | + "href": "https://test.invalid/", |
| 1147 | + "new_value": "*", |
| 1148 | + "expected": { |
| 1149 | + "href": "https://*/", |
| 1150 | + "host": "*", |
| 1151 | + "hostname": "*" |
| 1152 | + } |
| 1153 | + }, |
| 1154 | + { |
| 1155 | + "href": "https://test.invalid/", |
| 1156 | + "new_value": "x@x", |
| 1157 | + "expected": { |
| 1158 | + "href": "https://test.invalid/", |
| 1159 | + "host": "test.invalid", |
| 1160 | + "hostname": "test.invalid" |
| 1161 | + } |
| 1162 | + }, |
| 1163 | + { |
| 1164 | + "href": "https://test.invalid/", |
| 1165 | + "new_value": "foo\t\r\nbar", |
| 1166 | + "expected": { |
| 1167 | + "href": "https://foobar/", |
| 1168 | + "host": "foobar", |
| 1169 | + "hostname": "foobar" |
| 1170 | + } |
| 1171 | + }, |
| 1172 | + { |
| 1173 | + "href": "https://test.invalid/", |
| 1174 | + "new_value": "><", |
| 1175 | + "expected": { |
| 1176 | + "href": "https://test.invalid/", |
| 1177 | + "host": "test.invalid", |
| 1178 | + "hostname": "test.invalid" |
| 1179 | + } |
1144 | 1180 | }
|
1145 | 1181 | ],
|
1146 | 1182 | "hostname": [
|
|
1552 | 1588 | "host": "example.com",
|
1553 | 1589 | "hostname": "example.com"
|
1554 | 1590 | }
|
| 1591 | + }, |
| 1592 | + { |
| 1593 | + "href": "https://test.invalid/", |
| 1594 | + "new_value": "*", |
| 1595 | + "expected": { |
| 1596 | + "href": "https://*/", |
| 1597 | + "host": "*", |
| 1598 | + "hostname": "*" |
| 1599 | + } |
| 1600 | + }, |
| 1601 | + { |
| 1602 | + "href": "https://test.invalid/", |
| 1603 | + "new_value": "x@x", |
| 1604 | + "expected": { |
| 1605 | + "href": "https://test.invalid/", |
| 1606 | + "host": "test.invalid", |
| 1607 | + "hostname": "test.invalid" |
| 1608 | + } |
| 1609 | + }, |
| 1610 | + { |
| 1611 | + "href": "https://test.invalid/", |
| 1612 | + "new_value": "foo\t\r\nbar", |
| 1613 | + "expected": { |
| 1614 | + "href": "https://foobar/", |
| 1615 | + "host": "foobar", |
| 1616 | + "hostname": "foobar" |
| 1617 | + } |
| 1618 | + }, |
| 1619 | + { |
| 1620 | + "href": "https://test.invalid/", |
| 1621 | + "new_value": "><", |
| 1622 | + "expected": { |
| 1623 | + "href": "https://test.invalid/", |
| 1624 | + "host": "test.invalid", |
| 1625 | + "hostname": "test.invalid" |
| 1626 | + } |
1555 | 1627 | }
|
1556 | 1628 | ],
|
1557 | 1629 | "port": [
|
|
0 commit comments