From 379182bd42acbd11f67f68076e4290db38de51f5 Mon Sep 17 00:00:00 2001 From: Gene Hightower Date: Sat, 23 Mar 2024 09:21:12 -0700 Subject: [PATCH] DKIM headers are now internationalized. --- lib/message-parser.pegjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/message-parser.pegjs b/lib/message-parser.pegjs index 91085d7..d242f50 100644 --- a/lib/message-parser.pegjs +++ b/lib/message-parser.pegjs @@ -907,8 +907,11 @@ tag_value = tval ( (WSP / FWS)+ tval )* tval = VALCHAR+ -VALCHAR = [\x21-\x3A\x3C-\x7E] // %x21-3A / %x3C-7E +VALCHAR = [\x21-\x3A\x3C-\x7E] // %x21-3A / %x3C-7E / [\x80-\uFFFF] // EXCLAMATION to TILDE except SEMICOLON + // Other Unicode chars since tag_value may + // include email addresses and domains that are + // now internationalized. ALNUMPUNC = ALPHA / DIGIT / "_"