Relaxed nameprep length requirement dropping RFC-5891 section 4.2.4 (#3161).

This commit is contained in:
Richard Moore 2022-07-13 21:37:57 -04:00
parent 450694e257
commit abdf2e30a5

@ -202,11 +202,6 @@ export function nameprep(value: string): string {
throw new Error("invalid hyphen"); throw new Error("invalid hyphen");
} }
// IDNA: 4.2.4
if (name.length > 63) { throw new Error("too long"); }
return name; return name;
} }