View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005969 | SOGo | GUI | public | 2024-05-14 17:12 | 2024-05-16 09:24 |
Reporter | Artim | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 5.8.0 | ||||
Summary | 0005969: Better line breaking of base64 encoded mails | ||||
Description | For some reason, some mail clients (including Thunderbird) encode mails as base64 when it's not needed (normal text, not any attachments or special characters beyond UTF8) and use that as only encoding message. If such a mail is being opened in SOGo, it's shown with very strange line breaking. If that mail also contains that text e.g. as HTML, the issue doesn't show. Also, this displaying error doesn't show in other clients, including Thunderbird. An improved handling of this case would be greatly appreciated. | ||||
Tags | base64 | ||||
Hello, can you provide an eml ? |
|
Not at the moment, but I think that may not be necessary. I've found a way by accident to show what's being ignored by Thunderbird and other mail clients, but not by SOGo: I've taken the base64 encoded body, ran it through base64 -d and looked at the result through emacs. I've previously had base64 put the output to stdout which doesn't show these extra symbols. At the line breaking point where SOGo breaks the line, emacs shows the character combination "^M" which probably is some kind of new line character. SOGo puts a line break everywhere this character appears, while Thunderbird ignores it. Now I'm not sure about the specifics - or even why Thunderbird but them there in the first place - but for viewing the content, at least Thunderbird and K9 mail only insert an empty line when there's only the "^M" in a line. |
|