Project

General

Profile

Actions

Defect #11621

closed

Redmine MIME Detection Of Javascript Files Non-Standard

Added by William Roush over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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

source:tags/2.0.3/lib/redmine/mime_type.rb#L29

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


Related issues

Related to Redmine - Defect #32012: Broken JavaScript icon in the repository viewClosedGo MAEDA

Actions
Actions #1

Updated by Jean-Philippe Lang over 11 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.

Actions #2

Updated by Go MAEDA over 4 years ago

  • Related to Defect #32012: Broken JavaScript icon in the repository view added
Actions

Also available in: Atom PDF