SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003991SOGoWeb Mailpublic2017-01-12 08:052018-03-13 16:45
Reporterdani 
Assigned Toludovic 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Product Version3.2.5 
Target VersionFixed in Version 
Summary0003991: Inline images can create too long lines
DescriptionWhen we crreate an HTML signature which contains an inline image, like:

src="data:image/png;base64,iVBORw0KGgoAAAANSUhEU..."

SOGo treats it like inline: in the final email, it generates a CID, and adds an attachment with the inline disposition. But, the content of the attachment is added as is, without being split. The result can be a very long line, > 998 chars which is the limit (rfc2822 section 3.5 Overall message syntax). This will be rejected by some servers.

SOGo should split those inline attachments at 78 chars automatically
Steps To ReproduceCreate a signature with as inline image, without carriage returns
Additional InformationWe can manually split the base64 data in the signature, and everything will work as expected. But as the signature can be changed by the user, we can't expect it to be always correct
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0012688)
ludovic (administrator)
2018-03-13 16:45

That has been fixed a little while ago.

- Issue History
Date Modified Username Field Change
2017-01-12 08:05 dani New Issue
2018-03-13 16:45 ludovic Note Added: 0012688
2018-03-13 16:45 ludovic Status new => resolved
2018-03-13 16:45 ludovic Resolution open => fixed
2018-03-13 16:45 ludovic Assigned To => ludovic


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker