Vote #72354
完了Redmine MIME Detection Of Javascript Files Non-Standard
0%
説明
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
journals
Mime type changed to @application/javascript@ in r10195.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,32012,Broken JavaScript icon in the repository view