View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003276 | SOGo | Web Mail | public | 2015-07-08 10:45 | 2015-07-23 14:24 |
| Reporter | jbahillo | Assigned To | ludovic | ||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | [Server] Linux | OS | Ubuntu | OS Version | 14.04 LTS |
| Product Version | 2.2.17 | ||||
| Fixed in Version | 2.3.1 | ||||
| Summary | 0003276: Webmail shows empty mails when they are encoded in GB2312 | ||||
| Description | Some e-mails' content doesn't get displayed in the web interface. The content is there when you press reply. The mail is normally readable in an e-mail client (Geary, Thunderbird, Outlook). | ||||
| Steps To Reproduce | create an email using encoding GB2312 and send it to one user. Try to view that email on SOGo webmail. | ||||
| Additional Information | Log shows: sogod [28407]: <0x0x7fba72925e00[NSString]> Got invalid multibyte sequence. ToEncode: UCS-2LE FromEncode: GB2312. | ||||
| Tags | No tags attached. | ||||
|
Attach a sample mail to this ticket. |
|
|
That mail is utterly broken. The byte sequence is not even entirely gb2312 in the mail - so iconv fails to convert it. In such cases, there's so much we can do... so we fallback to utf8 and then, latin1: https://github.com/inverse-inc/sogo/commit/4b19e64071a3c8173a63714c633e9a94b76fd7e5 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-07-08 10:45 | jbahillo | New Issue | |
| 2015-07-08 11:19 | ludovic | Note Added: 0008714 | |
| 2015-07-09 02:49 | hydrandt | File Added: sogo-empty-mail.eml | |
| 2015-07-23 14:24 | ludovic | Note Added: 0008765 | |
| 2015-07-23 14:24 | ludovic | Status | new => resolved |
| 2015-07-23 14:24 | ludovic | Fixed in Version | => 2.3.1 |
| 2015-07-23 14:24 | ludovic | Resolution | open => fixed |
| 2015-07-23 14:24 | ludovic | Assigned To | => ludovic |