View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005408 | SOGo | ActiveSync | public | 2021-10-18 12:05 | 2021-10-27 12:35 |
Reporter | oburais | Assigned To | francis | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
Product Version | 5.2.0 | ||||
Fixed in Version | 5.3.0 | ||||
Summary | 0005408: Attachment get corrupted in Outlook with ActiveSync when the filename contains non-ASCII characters and the CharSet is not UTF-8 | ||||
Description | When displaying an email with an attachment whole filename contains a non-ASCII character (such as an accent) with Outlook 2013,2016 or 2019 using ActiveSync, the attachment gets corrupted. | ||||
Steps To Reproduce |
If you edit the charset of the body of the email itself to us-ascii on the email server, the attachment is readable again. | ||||
Additional Information | When comparing the corrupted attachment to the working one with an hexadecimal editor, you can notice that a charset conversion is applied to the binary code of the attachment itself. | ||||
Tags | active sync, ActiveSync, attachement, outlook, sogo, unicode, utf-8 | ||||
When Downgrading to SOGo 4.1 and re-adding the account in Outlook, the attachment is working as expected |
|
Can you please provide a sample mail in raw format? |
|
Sorry I've uploaded the file in a private post. Here it is : |
|
Hello! I have the same problem! The hungarian special characters transformed to strange characters and the attachment can not opening. Best regards: Péter |
|
I'm able to reproduce the problem with withaccent-2.eml, but I see the same problem with SOGo 4.1.0. |
|
Hi @tfu WIth SOGo 4.1.0 : the attachment is working in Outlook whether its name contains non-ascii characters or not. The symptoms appeared after upgrading from 4.1.0 to 5.2.0. They disappeared once downgraded to 4.1.0 |
|
*so that the emails and their attachments were re-downloaded. Editing the charset of the body of the email to us-ascii removed the corruption as well ( and the attachment was working, with still a non-ascii character in its filename). |
|
I identified following sope fix as the cause of this bug : fix(mime): encode text parts individually - Fixes 0005376 - https://github.com/inverse-inc/sope/commit/0eb64db6e1e3ba8fc5e03831ac31873f88a75859. |
|
Thanks @tfu! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-18 12:05 | oburais | New Issue | |
2021-10-18 12:05 | oburais | Tag Attached: active sync | |
2021-10-18 12:05 | oburais | Tag Attached: ActiveSync | |
2021-10-18 12:05 | oburais | Tag Attached: attachement | |
2021-10-18 12:05 | oburais | Tag Attached: outlook | |
2021-10-18 12:05 | oburais | Tag Attached: sogo | |
2021-10-18 12:05 | oburais | Tag Attached: unicode | |
2021-10-18 12:05 | oburais | Tag Attached: utf-8 | |
2021-10-19 10:09 | oburais | Note Added: 0015563 | |
2021-10-19 11:26 | tfu | Note Added: 0015564 | |
2021-10-21 09:59 | oburais | Note Added: 0015568 | |
2021-10-21 09:59 | oburais | File Added: withaccent-2.eml | |
2021-10-21 12:15 | peter.barlabas | Note Added: 0015569 | |
2021-10-21 12:15 | peter.barlabas | File Added: Meszlényi-Autó Kft. - Lezárt munkalap lista (584 KB).msg | |
2021-10-24 18:02 | tfu | Note Added: 0015573 | |
2021-10-25 06:51 | oburais | Note Added: 0015574 | |
2021-10-25 06:54 | oburais | Note Added: 0015575 | |
2021-10-26 19:06 | tfu | Note Added: 0015586 | |
2021-10-27 12:34 | Changeset attached | => sogo master bfcb0b92 | |
2021-10-27 12:35 | francis | Assigned To | => francis |
2021-10-27 12:35 | francis | Status | new => resolved |
2021-10-27 12:35 | francis | Resolution | open => fixed |
2021-10-27 12:35 | francis | Fixed in Version | => 5.3.0 |
2021-10-27 12:35 | francis | Note Added: 0015587 |