Project

General

Profile

Actions

Defect #16711

closed

Non-ascii attachment file name get corrupted in IE11

Added by Go MAEDA almost 10 years ago. Updated almost 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 #1

Updated by Toshi MARUYAMA almost 10 years ago

  • Category set to Attachments
  • Target version set to 2.4.6
Actions #2

Updated by Toshi MARUYAMA almost 10 years ago

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

The compatible ("compatible") and browser ("MSIE") tokens have been removed.

Actions #3

Updated by Toshi MARUYAMA almost 10 years ago

Actions #4

Updated by Toshi MARUYAMA almost 10 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed

Committed, thanks.

Actions #5

Updated by Go MAEDA about 8 years ago

  • Related to Defect #21656: Fix Non ASCII attachment filename encoding broken (MOJIBAKE) in Microsoft Edge Explorer added
Actions

Also available in: Atom PDF