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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-03-05 00:44 UTC by Jenny Danzmayr
Modified: 2021-12-30 23:12 UTC (History)
2 users (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
Comment 1 kfm 2021-12-30 23:12:05 UTC
Resolved by app-misc/mime-types-2.1.53. See bug 762958 for further information.