Skip to content

Commit

Permalink
DKIM headers are now internationalized.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gene Hightower committed Mar 23, 2024
1 parent 38610da commit 379182b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/message-parser.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 / "_"

Expand Down

0 comments on commit 379182b

Please sign in to comment.