View Issue Details

IDProjectCategoryView StatusLast Update
0003991SOGoWeb Mailpublic2018-03-13 16:45
Reporterdani Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Product Version3.2.5 
Target VersionFixed in Version 
Summary0003991: Inline images can create too long lines
Description

When 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 Reproduce

Create a signature with as inline image, without carriage returns

Additional Information

We 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.

Activities

ludovic

ludovic

2018-03-13 16:45

administrator   ~0012688

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