Bug 867 - JavaScript mime-type signature
Summary: JavaScript mime-type signature
Status: RESOLVED WONTFIX
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 05:38 UTC by Michael A Nachbaur
Modified: 2005-05-01 14:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michael A Nachbaur 2004-07-14 05:38:36 UTC
In order to properly detect JavaScript files, I've added the following to my
local freedesktop.org.xml file.  If sufficient, it would be nice if this could
be included in the official version (though I haven't i18n'd the comment).

  <mime-type type="text/x-javascript">
    <comment>JavaScript sources</comment>
    <glob pattern="*.js"/>
  </mime-type>
Comment 1 Christophe Fergeau 2004-11-01 13:32:11 UTC
The correct mime type for javascript files seem to be application/x-javascript,
and it's already present in the mime database. Is application/x-javascript
causing problems for you, or is it ok ?
Comment 2 Stewart Jeacocke 2005-05-02 07:21:10 UTC
Cleaning up bugzilla. Correct mime-type already exists


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.