Checks what characters can be used as valid URL hostname
const chars = "abcdefghijklmnopqrstuvwxyz0123456789!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";0x0D
let encodings = new Map();0x0D
for (let i = 0; i < chars.length; i++) {0x0D
let c = chars[i];0x0D
for (let i = 127; i < 65536; i++) {0x0D
let str = String.fromCodePoint(i);0x0D
try {0x0D
let payload = `http://${str}example.com`;0x0D
let u = new URL(payload);0x0D
if (u.hostname === `${c}example.com`) {0x0D
log(i)0x0D
}0x0D
} catch {}0x0D
}0x0D
}3133731337