プロジェクト

全般

プロフィール

Vote #72354

完了

Redmine MIME Detection Of Javascript Files Non-Standard

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
47
issue_org_id:
11621
author_id:
41332
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
52
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • 対象バージョン2.1.0_47 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0