Bug 40976 - Detect CHM files as application/vnd.ms-htmlhelp
Summary: Detect CHM files as application/vnd.ms-htmlhelp
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-17 15:33 UTC by Alex Henrie
Modified: 2011-09-17 15:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch (602 bytes, patch)
2011-09-17 15:34 UTC, Alex Henrie
Details | Splinter Review

Description Alex Henrie 2011-09-17 15:33:39 UTC
Currently, CHM files are detected as application/x-chm. Since 2006, the IANA standard MIME type for CHM files has been application/vnd.ms-htmlhelp. In the interest of standardization and predictable behavior, I propose detecting CHM files as application/vnd.ms-htmlhelp with application/x-chm as a legacy alias that we might be able to remove in a few years.

See also:
http://www.iana.org/assignments/media-types/application/index.html
http://www.iana.org/assignments/media-types/application/vnd.ms-htmlhelp
Comment 1 Alex Henrie 2011-09-17 15:34:36 UTC
Created attachment 51296 [details] [review]
Patch

Patch which should resolve the problem
Comment 2 Bastien Nocera 2011-09-17 15:47:12 UTC
In the future, please use git to format your patches, so it has a commit message and authorship information.


commit 388bfc335d5ceb387c309096d3e38b5797ad22ac
Author: Alex Henrie <alexhenrie24@gmail.com>
Date:   Sat Sep 17 23:45:59 2011 +0100

    Update CHM mime-type
    
    It now uses the application/vnd.ms-htmlhelp mime-type instead
    of application/x-chm.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=40976


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.