| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e426180 commit 2de9868
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1007,6 +1007,22 @@ const parseTests = { | |||
| 1007 | 1007 | path: '/', | |
| 1008 | 1008 | href: 'https://evil.com$.example.com/' | |
| 1009 | 1009 | }, | |
| 1010 | + | ||
| 1011 | + // Validate the output of hostname with commas. | ||
| 1012 | + 'x://0.0,1.1/': { | ||
| 1013 | + protocol: 'x:', | ||
| 1014 | + slashes: true, | ||
| 1015 | + auth: null, | ||
| 1016 | + host: '0.0,1.1', | ||
| 1017 | + port: null, | ||
| 1018 | + hostname: '0.0,1.1', | ||
| 1019 | + hash: null, | ||
| 1020 | + search: null, | ||
| 1021 | + query: null, | ||
| 1022 | + pathname: '/', | ||
| 1023 | + path: '/', | ||
| 1024 | + href: 'x://0.0,1.1/' | ||
| 1025 | + } | ||
| 1010 | 1026 | }; | |
| 1011 | 1027 | ||
| 1012 | 1028 | for (const u in parseTests) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments