Summary: | "From" name with special character breaks email sending | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Stefan Dösinger <stefandoesinger> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 6.2.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
bad email
good email |
Description
Stefan Dösinger
2024-10-17 17:20:56 UTC
Created attachment 174955 [details]
good email
I think some of my understanding of what triggers the bug is wrong: I tried setting up my email account in a fresh Linux user on the amd64 system: The result is that the umlaut in the "From: " and "To :" fields are properly =?UTF-8? escaped. So that it works there has nothing to do with my year old grown config. Other than the CPU architecture, the other difference I could spot is that the x86_64 system had accessibility libraries enabled (gentoo +accessibility use flag), whereas the arm64 system did not. I am changing that on the arm64 system now and will report back. It doesn't seem to have an effect on akonadi and kmail specifically, but it does affect Qt. Other things I tested and I am convinced have no effect: * Wayland vs X11 * The language (english vs german) that is active when setting up the email account I start to believe that this is actually an aarch64 vs x86_64 difference. On aarch64, kmail believes the "ö" character is valid to send in headers. If I save the email as a file, the ö is encoded as ISO-8859-1 with character value 0xF6. On x86_64, it is properly escaped. Other extended characters get escaped properly. If I add some Hebrew character to my name, the From like has the RFC 2047 coding. Some other headers, like "X-KMail-Identity-Name:" or the subject are not affected. Is it possible there's a signed vs unsigned char bug somewhere? That's the most obvious difference between x86 and arm I can think of here... I updated my installation to pull in the accessibility libraries. This did not fix the problem. |