Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542190

Summary: app-misc/mime-types: rfc4329 types and deprecated types listed
Product: Gentoo Linux Reporter: Jenny Danzmayr <mail>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED FIXED    
Severity: normal CC: eras, net-mail+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch removing the js extension from application/x-javascript

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.