When I attach a file in claws and there are multiple possible mime types for it, Claws picks the wrong one (compared to other applications, and the sensible choice, so I assume there's at least a de facto ordering system in place). As an example, Fedora has this in their mime type database: $ grep png /usr/share/mime/globs image/png:*.png image/x-apple-ios-png:*.png Everything else picks image/png, but Claws picks image/x-apple-ios-png. And that presents some problems for the recipient to look at the image without first storing it to disk.
Created attachment 1298 [details] Probable fix Hi, Does this patch fix it ?
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=dc475350bb9371e9e30fa2ae6adea582cdab94be Merge: 23c6fdb de0d6d2 Author: Colin Leroy <colin@colino.net> Date: Sun Sep 29 11:03:04 2013 +0200 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=de0d6d263e40307d18966c4fc46460f6bfbef5be Author: Colin Leroy <colin@colino.net> Date: Sun Sep 29 11:02:56 2013 +0200 Fix bug #3004, "claws picks wrong mime type for attachments" Use first match for each extension