Bug 72948 - Warn if file attachment type does not match declared type
Summary: Warn if file attachment type does not match declared type
Status: RESOLVED DUPLICATE of bug 199537
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.94
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 12:50 UTC by Robin Rosenberg
Modified: 2009-12-18 23:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Saved mail (7.06 KB, text/plain)
2004-01-19 12:51 UTC, Robin Rosenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg 2004-01-19 12:50:33 UTC
Version:           1.5.94 (using KDE 3.1.94 (CVS >= 20031206), Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-4mdk)
OS:          Linux (i686) release 2.4.24-0.pre2.1mdk

I think KMail should select a file icon based on what KDE think the attachment file type is instead of the declared type or mark the icon with a red question mark if there is a mismatch. KMail still tries to open the file based on the actual file type instead of the declared type.

Try attaching a png file, edit the attachment and change mime type to application/x-zip. 

When viewing the mail a zip icon will be shown and the properties show that it is a Zip archive, but opening will be done using kuickshow. There is warning about security, but nothing that indicates that the mail is seriously mailformed.
Comment 1 Robin Rosenberg 2004-01-19 12:51:56 UTC
Created attachment 4238 [details]
Saved mail
Comment 2 Jaime Torres 2009-07-09 19:32:31 UTC
Related to bug 199537
Comment 3 Björn Ruberg 2009-12-18 23:47:29 UTC

*** This bug has been marked as a duplicate of bug 199537 ***