プロジェクト

全般

プロフィール

Vote #75171

完了

Non-ascii attachment file name get corrupted in IE11

Admin Redmine さんが約4年前に追加. 約4年前に更新.

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

0%

予定工数:
category_id:
19
version_id:
85
issue_org_id:
16711
author_id:
332
assigned_to_id:
0
comments:
5
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

To avoid non-ascii file name corruption in Internet Explorer 11, @filename_for_content_disposition@ method in ApplicationController should search not only "MSIE" but also "Trident" because There is no "MSIE" in IE11's user-agent string.

<=IE10:
@Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)@

IE11 (gives false name):
@Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko@


journals

--------------------------------------------------------------------------------
http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx#uaString

> The compatible ("compatible") and browser ("MSIE") tokens have been removed.
--------------------------------------------------------------------------------
!ie11.png!
--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,21656,Fix Non ASCII attachment filename encoding broken (MOJIBAKE) in Microsoft Edge Explorer

Admin Redmine さんが約4年前に更新

  • カテゴリAttachments_19 にセット
  • 対象バージョン2.4.6_85 にセット

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

いいね!0
いいね!0