Non-ascii attachment file name get corrupted in IE11
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.
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
fix non-ascii attachment file name get corrupted in IE11 (#16711)
Contributed by Go MAEDA.
#2 Updated by Toshi MARUYAMA about 5 years ago
The compatible ("compatible") and browser ("MSIE") tokens have been removed.