Skip to content

Throws "DKIM_Error" if the From: header contains DBCS characters. #529

@Licsak25

Description

@Licsak25

When evaluating an email that contains non-ASCII characters in the From: header, the value of 'internationalized' remains "false" when static parseAuthor(author, internationalized) is evaluated, and the value of "from" assigned by parseAuthor() remains null rather than expected the email address written in the From: header.

I have attached two test emails, one with Japanese characters in the sender and one without, as well as the debugger screen.

  1. --> From: Naozumi YAMADA licsak@mx.bw.dream.jp
    Ref1.eml.txt --> ref1 (good).png | from = licsak@mx.bw.dream.jp

Ref1.eml.txt

Image

  1. --> From: =?UTF-8?B?5bGx55Sw?= licsak@mx.bw.dream.jp
    Ref2.eml.txt --> ref2 (bad).png | from = null

Ref2.eml.txt

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions