From abdf2e30a5169d6ddd368f2bc3cdcd5feed25ae5 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Wed, 13 Jul 2022 21:37:57 -0400 Subject: [PATCH] Relaxed nameprep length requirement dropping RFC-5891 section 4.2.4 (#3161). --- packages/strings/src.ts/idna.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/strings/src.ts/idna.ts b/packages/strings/src.ts/idna.ts index dc6f1112a..c639d9ec5 100644 --- a/packages/strings/src.ts/idna.ts +++ b/packages/strings/src.ts/idna.ts @@ -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; }