Skip to content

Commit abdf2e3

Browse files
committed
Relaxed nameprep length requirement dropping RFC-5891 section 4.2.4 (ethers-io#3161).
1 parent 450694e commit abdf2e3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/strings/src.ts/idna.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,6 @@ export function nameprep(value: string): string {
202202
throw new Error("invalid hyphen");
203203
}
204204

205-
// IDNA: 4.2.4
206-
if (name.length > 63) { throw new Error("too long"); }
207-
208-
209-
210205
return name;
211206
}
212207

0 commit comments

Comments
 (0)