View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| 0006240 | SOGo | GUI | public | 2026-08-27 11:45 | 2026-08-27 11:45 | |||||
| Reporter | gonzo | Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | new | Resolution | open | |||||||
| Platform | [Server] Linux | OS | Ubuntu | OS Version | 16.04 LTS | |||||
| Product Version | 5.12.10 | |||||||||
| Summary | 0006240: non-root inline text/html part in multipart/related is rendered as message body | |||||||||
| Description | Problem: Content-Disposition: inline inside a multipart/related message as additional visible message body content. The same message is displayed correctly in Thunderbird. Minimal MIME structure:
+-- text/html <-- related non-root part There is no "start" parameter on the outer multipart/related, therefore the first body part (multipart/alternative) is the root object. Actual behavior in SOGo: the normal HTML message body, and If the related HTML part contains CSS such as position, z-index or large backgrounds, this can severely break the message display. Expected behavior: Non-root related MIME parts should not automatically be rendered as additional message body content. Thunderbird behavior: | |||||||||
| Steps To Reproduce | A/B tests: Test A: additional related text/html part Result: SOGo: incorrect, related HTML is still rendered below the message This shows that a CID reference is not required to trigger the issue. Test B: Content-Disposition: attachment Result: SOGo: correct, the HTML part is shown as an attachment This indicates that Content-Disposition: inline is an important part of the trigger. We initially found this with a real customer email. Removing only the additional related text/html MIME part caused the original message to render correctly in SOGo. I have attached a fully synthetic .eml reproducer. The attached reproducer is: sogo_ab_A_no_cid_reference.eml It contains the minimal case where the related HTML part is not referenced by the root HTML at all. Please let me know if you need any additional information or further test cases. | |||||||||
| Additional Information | Environment: mailcow 2026-07a | |||||||||
| Tags | cas, html, rendering | |||||||||