Vote #75171
完了Non-ascii attachment file name get corrupted in IE11
0%
説明
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