summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fix-download-unicode/cfs_access-point.txt2
1 files changed, 1 insertions, 1 deletions
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');