Skip to content

Commit

Permalink
Relaxed nameprep length requirement dropping RFC-5891 section 4.2.4 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jul 14, 2022
1 parent 450694e commit abdf2e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/strings/src.ts/idna.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,6 @@ export function nameprep(value: string): string {
throw new Error("invalid hyphen");
}

// IDNA: 4.2.4
if (name.length > 63) { throw new Error("too long"); }



return name;
}

0 comments on commit abdf2e3

Please sign in to comment.