Summary: | Comma in Sender name causes e-mail to be sent without from header | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Andre Heinecke <aheinecke> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | aheinecke |
Priority: | NOR | ||
Version: | Git (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Hack against KDE 4.14 to avoid this |
Description
Andre Heinecke
2015-11-25 10:16:41 UTC
Created attachment 95727 [details]
Hack against KDE 4.14 to avoid this
I've used this hack to solve this problem for us in 4.14. (I see it as a hack and so I'm attaching the patch here instead of a review request)
For a proper fix either a different KPIMUtils API should be offered to normalize a single address (and so escape /quote commas) or where the From address is set from the identity it should be ensured that the name is quoted if necessary.
And manually entered addresses in the messagecomposer should bring up a warning.
The advantage of my hack is that it also works for manually changed addresses.
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it. Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input. |