From 70ca6fdec96bf7c465ce12a80540c5d482492e13 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 13 May 2017 13:31:42 +0300 Subject: Add support for IE11 in fix-download-unicode. --- fix-download-unicode/cfs_access-point.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fix-download-unicode') diff --git a/fix-download-unicode/cfs_access-point.txt b/fix-download-unicode/cfs_access-point.txt index 4e80d94c..8e3359d0 100644 --- a/fix-download-unicode/cfs_access-point.txt +++ b/fix-download-unicode/cfs_access-point.txt @@ -448,7 +448,7 @@ FS.HTTP.Handlers.Get = function (ref) { try { var userAgent = (this.requestHeaders['user-agent']||'').toLowerCase(); - if(userAgent.indexOf('msie') >= 0 || userAgent.indexOf('chrome') >= 0) { + if(userAgent.indexOf('msie') >= 0 || userAgent.indexOf('trident') >= 0 || userAgent.indexOf('chrome') >= 0) { ref.filename = encodeURIComponent(ref.filename); } else if(userAgent.indexOf('firefox') >= 0) { ref.filename = new Buffer(ref.filename).toString('binary'); -- cgit v1.2.3-1-g7c22