| Issue 387: | SmtpEmailSender.java does not correctly encode non-Latin1 characters. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.1.1 Environment: Debian Lenny/LDAP users What steps will reproduce the problem? 1. Create ldap user with russian name 2. Configure project watching 3. Make gerrit sends email What is the expected output? What do you see instead? Expected output is the correctly encoded all mail headers (From, To, CC, Subject) to something like base64/qp and utf8. Instead I see raw 8-bit characters and all of them are replaced by X by cyrus. 8-bit headers are not allowed by some RFC. Please provide any additional information below. I thing com.google.gerrit.server.mail.EmailHeader.write() or code somehere inside com.google.gerrit.server.mail.SmtpEmailSender.send() should not just wroute raw chars to underling stream. Some of them should correctly encode values of headers. Message body itself can contains 8-bit chars.
May 15, 2012
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: FixedIn-2.1.2