|
5564 | 5564 | "search": "",
|
5565 | 5565 | "hash": ""
|
5566 | 5566 | },
|
| 5567 | + "# Windows drive letter quirk in the file slash state", |
| 5568 | + { |
| 5569 | + "input": "/c:/foo/bar", |
| 5570 | + "base": "file:///c:/baz/qux", |
| 5571 | + "href": "file:///c:/foo/bar", |
| 5572 | + "protocol": "file:", |
| 5573 | + "username": "", |
| 5574 | + "password": "", |
| 5575 | + "host": "", |
| 5576 | + "hostname": "", |
| 5577 | + "port": "", |
| 5578 | + "pathname": "/c:/foo/bar", |
| 5579 | + "search": "", |
| 5580 | + "hash": "" |
| 5581 | + }, |
| 5582 | + { |
| 5583 | + "input": "/c|/foo/bar", |
| 5584 | + "base": "file:///c:/baz/qux", |
| 5585 | + "href": "file:///c:/foo/bar", |
| 5586 | + "protocol": "file:", |
| 5587 | + "username": "", |
| 5588 | + "password": "", |
| 5589 | + "host": "", |
| 5590 | + "hostname": "", |
| 5591 | + "port": "", |
| 5592 | + "pathname": "/c:/foo/bar", |
| 5593 | + "search": "", |
| 5594 | + "hash": "" |
| 5595 | + }, |
| 5596 | + { |
| 5597 | + "input": "file:\\c:\\foo\\bar", |
| 5598 | + "base": "file:///c:/baz/qux", |
| 5599 | + "href": "file:///c:/foo/bar", |
| 5600 | + "protocol": "file:", |
| 5601 | + "username": "", |
| 5602 | + "password": "", |
| 5603 | + "host": "", |
| 5604 | + "hostname": "", |
| 5605 | + "port": "", |
| 5606 | + "pathname": "/c:/foo/bar", |
| 5607 | + "search": "", |
| 5608 | + "hash": "" |
| 5609 | + }, |
| 5610 | + { |
| 5611 | + "input": "/c:/foo/bar", |
| 5612 | + "base": "file://host/path", |
| 5613 | + "href": "file:///c:/foo/bar", |
| 5614 | + "protocol": "file:", |
| 5615 | + "username": "", |
| 5616 | + "password": "", |
| 5617 | + "host": "", |
| 5618 | + "hostname": "", |
| 5619 | + "port": "", |
| 5620 | + "pathname": "/c:/foo/bar", |
| 5621 | + "search": "", |
| 5622 | + "hash": "" |
| 5623 | + }, |
5567 | 5624 | "# Windows drive letter quirk with not empty host",
|
5568 | 5625 | {
|
5569 | 5626 | "input": "file://example.net/C:/",
|
|
0 commit comments