Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542190 - app-misc/mime-types: rfc4329 types and deprecated types listed
Summary: app-misc/mime-types: rfc4329 types and deprecated types listed
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-03-05 00:44 UTC by Jenny Danzmayr
Modified: 2015-03-07 05:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch removing the js extension from application/x-javascript (mime.types.patch,386 bytes, patch)
2015-03-05 00:44 UTC, Jenny Danzmayr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jenny Danzmayr 2015-03-05 00:44:15 UTC
Created attachment 398098 [details, diff]
patch removing the js extension from application/x-javascript

In the mime.types file both the registered "application/javascript" and the obsolete "application/x-javascript" are listed for the js file extension. The first definition is on line 101 (application/javascript) and the second on #1163 (application/x-javascript). Because apache uses the later definition .js files served by apache have the obsolete mime type.

I've attached a patch fixing this.

rfc4329: http://tools.ietf.org/html/rfc4329#section-7