Roundcube Community Forum

 

[0.3] Problem with pdf attachment

Started by prossi, November 12, 2009, 09:59:47 AM

Previous topic - Next topic

prossi

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

gjrweb

Saw this solution in config/mimetypes, add this line:

'pdf' => 'application/pdf',