Browse Source

Add support for IE11 in fix-download-unicode.

Lauri Ojansivu 2 years ago
parent
commit
70ca6fdec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fix-download-unicode/cfs_access-point.txt

+ 1 - 1
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');