When I receive emails with images attached clicking on the image gives a broken image in the browser. If I download the image the image is invalid in a graphics viewer.
RoundCube is executing:
http://vader/rcube/?_task=mail&_action=get&_mbox=INBOX&_uid=854&_part=2When I check the source of the email I see:
Content-Type: multipart/mixed; boundary="=_49fcd68533a14cbefec6082f6f0b0306"
...More headers....
--=_49fcd68533a14cbefec6082f6f0b0306
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Blah blah
--=_49fcd68533a14cbefec6082f6f0b0306
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="DSC00063.JPG"
/9j/4XMqRXhpZgAATU0AKgAAAAgACgEPAAIAAAAOAAACJAEQAAIAAAAGAAACMgESAAMAAAABAAEA
AAEaAAUAAAABAAACOAEbAAUAAAABAAACQAEoAAMAAAABAAIAAAExAAIAAAApAAACSAEyAAIAAAAU
AAACcgITAAMAAAABAAIAAIdpAAQAAAABAAAAhgAAAcoAGIKaAAUAAAABAAAChoKdAAUAAAABAAAC
jognAAMAAAABAGQAAJAAAAcAAAAEMDIyMJADAAIAAAAUAAAClpAEAAIAAAAUAAACqpEBAAcAAAAE
When I do a hex dump of the file DSC00063.JPG sent and what RoundCube downloads/displays I can see RoundCube is inserting an extra /n at the start of the image file.
I am using 0.1.1. Is this a problem with the MIME handling?
-Steve