-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TO_EXCESS_QP warning from RSPAMD or SpamAssassin #222
Comments
Hi, can you propose a PR with a correlated test for this? |
@Slamdunk Hi! |
Bug Report
Version: 2.14.1
Summary
For example, we have the follows code:
From
andTo
headers will looks like:But some email validation services (RSPAMD or SpamAssassin) gives to us a warning "TO_EXCESS_QP: To that contains encoded characters while quoted-printable is not needed as all symbols are 7bit", because the strings "Sender Name" and "Recipient Name" has ASCII compatibility already. So, without direct fix in
Laminas\Mail\Header\AbstractAddressList::getFieldValue()
has no any ability do not encode those strings always.I would like do not encode ASCII compatibility strings without any reasons.
Therefore, I think, the fix should looks like
The same problem was in Symphony CMS symphonycms/symphonycms#2858
Current behavior
Name of email encode always.
How to reproduce
See summary section.
Expected behavior
Do not encode name of email without necessary.
The text was updated successfully, but these errors were encountered: