Project

General

Profile

Actions

Defect #16711

closed

Non-ascii attachment file name get corrupted in IE11

Added by Go MAEDA about 10 years ago. Updated about 10 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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


Files

IE11_non_ascii_file_name_corruption_fix.diff (603 Bytes) IE11_non_ascii_file_name_corruption_fix.diff Go MAEDA, 2014-04-17 15:11
日本語.txt (11 Bytes) 日本語.txt Toshi MARUYAMA, 2014-04-17 20:10
ie11.png (15.8 KB) ie11.png Toshi MARUYAMA, 2014-04-17 20:10

Related issues

Related to Redmine - Defect #21656: Fix Non ASCII attachment filename encoding broken (MOJIBAKE) in Microsoft Edge ExplorerClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF