Defect #11621

Redmine MIME Detection Of Javascript Files Non-Standard

Added by William Roush almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Target version:2.1.0
Resolution:Fixed Affected version:2.0.3


Currently the mime type defined is "text\x-javascript".


According to the RFC, it should be "application\javascript", modern browsers identify it as "text\javascript".

Sending a javascript file with the currently implemented mime type in chrome will throw warnings.

Resource interpreted as Script but transferred with MIME type text/x-javascript

Associated revisions

Revision 10195
Added by Jean-Philippe Lang almost 7 years ago

Set application/javascript as javascript mime tpye (#11621).


#1 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.1.0
  • Resolution set to Fixed

Mime type changed to application/javascript in r10195.

Also available in: Atom PDF