Bug 2966 - Incorrect MIME type recognition of some files when attached
Summary: Incorrect MIME type recognition of some files when attached
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.9.1
Hardware: PC Windows XP
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-07-12 19:00 CEST by LoseDanger
Modified: 2013-07-12 20:05 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LoseDanger 2013-07-12 19:00:41 CEST
Claws Mail does not set the proper MIME type for some filetypes, such as PDFs.

When I attach a PDF file to email, it is attached with MIME type application/octet-stream instead of the correct application/pdf.

The same happens with ZIP files and some other files. I suggest that claws implements correct labeling of at least the media types listed on http://www.iana.org/assignments/media-types

Some nice "background reading" on Wikipedia: https://en.wikipedia.org/wiki/Internet_media_type

Example instructions:

1) Create a new email message.

2) Add a new attachment of type PDF.

3) Observe that it is identified as MIME type application/octet-stream instead of application/pdf.