Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: prossi on November 12, 2009, 09:59:47 AM

Title: [0.3] Problem with pdf attachment
Post by: prossi on November 12, 2009, 09:59:47 AM
I've a problem with attachments in the last version of roundcube, no tested in previous version.
Sometime I receive some message that contains in its source the following attachment:

--------------050608020304010404090901
Content-type: application/pdf
 name="faxtdCA3j.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="faxtdCA3j.pdf"

without the semicolon between the Content-type: application/pdf and the name of the file, roundcube do not display the attachment.
Instead if I manually edit the source of the message and put the semicolon between the content type and the name of the file, it show the message correctly. This behavior do not affect other webmail like squirrelmail.

It's that a bug in roundcube 0.3.
Thank's
Title: [0.3] Problem with pdf attachment
Post by: gjrweb on November 19, 2009, 10:35:19 AM
Saw this solution in config/mimetypes, add this line:

'pdf' => 'application/pdf',