#1412 meta: Encoding of From header in email notifications broken
Reporter
Jonas Schäfer
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Project-IssueTracker
Priority-Medium
Type-Defect
Status-Accepted
Jonas Schäfer
on
To be clear: this issue refers to issues.prosody.im, not to Prosody itself.
What steps will reproduce the problem?
1. Add a comment to an issue using a name containing Umlauts.
2. Receive the email.
What is the expected output?
The name is displayed properly and correctly.
What do you see instead?
Mojibake. In my case, I see
From: "Jonas Schäfer via Prosody IM" <issues@prosody.im>
instead of:
From: "Jonas Schäfer via Prosody IM" <issues@prosody.im>
What version of the product are you using? On what operating system?
???
Please provide any additional information below.
The copy-pasted lines above are from the "view source" function of my MUA. Other mails with my name have stuff like this:
From: Jonas =?ISO-8859-1?Q?Sch=E4fer?= <…>
From: Jonas =?utf-8?q?Sch=C3=A4fer?= (XSF Editor) <…>
So probably the tracker needs a proper MIME writer, with escaping and declaration of UTF-8 content.
Zash
on
Thanks for reporting.I feel like this should be handled by LuaSockets SMTP library, not users of it
To be clear: this issue refers to issues.prosody.im, not to Prosody itself. What steps will reproduce the problem? 1. Add a comment to an issue using a name containing Umlauts. 2. Receive the email. What is the expected output? The name is displayed properly and correctly. What do you see instead? Mojibake. In my case, I see From: "Jonas Schäfer via Prosody IM" <issues@prosody.im> instead of: From: "Jonas Schäfer via Prosody IM" <issues@prosody.im> What version of the product are you using? On what operating system? ??? Please provide any additional information below. The copy-pasted lines above are from the "view source" function of my MUA. Other mails with my name have stuff like this: From: Jonas =?ISO-8859-1?Q?Sch=E4fer?= <…> From: Jonas =?utf-8?q?Sch=C3=A4fer?= (XSF Editor) <…> So probably the tracker needs a proper MIME writer, with escaping and declaration of UTF-8 content.
Thanks for reporting.I feel like this should be handled by LuaSockets SMTP library, not users of it
Changes