Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
BMP attachments display warnings #4771
Reported by netesa on 19 Feb 2015 07:25 UTC as Trac ticket #1490282
Roundcube assumes .bmp files to have MIME-type image/bmp. However, it is not officially registered at IANA and on many systems it is detected as image/x-ms-bmp. This triggers a warning in Roundcube while trying to open the attachment: "Expected: image/bmp (.bmp); found: image/x-ms-bmp".
Comment by netesa on 20 Feb 2015 08:56 UTC
I still observe some problems with BMP files. I'm not quite sure if this is a problem with Roundcube or mime detection issue on my server, however, now the warning is slightly different: "Expected: image/bmp (.bmp); found: image/bmp".
Comment by @alecpl on 20 Feb 2015 09:11 UTC
Hmm... What if you change the line