Skip to content

Handle latin encoded chars found in reports and messageid#1208

Merged
endelwar merged 2 commits into1.2from
unknown repository
Mar 28, 2021
Merged

Handle latin encoded chars found in reports and messageid#1208
endelwar merged 2 commits into1.2from
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 7, 2021

No description provided.

in reports and messageid
@ghost
Copy link
Copy Markdown
Author

ghost commented Mar 7, 2021

Fixes #1198

@ghost ghost linked an issue Mar 7, 2021 that may be closed by this pull request
$msg{rblspamreport} = $message->{rblspamreport};
$msg{token} = $token;
$msg{messageid} = $messageid;
$msg{messageid} = fix_latin($messageid);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't messageid limited to ASCII charset?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A non-compliant message seems it can have latin chars in here so it bombs out.

@endelwar endelwar merged commit ea3a7a9 into mailwatch:1.2 Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not logging mail to SQL

1 participant