summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-05-13 13:31:42 +0300
committerLauri Ojansivu <x@xet7.org>2017-05-13 13:31:42 +0300
commit70ca6fdec96bf7c465ce12a80540c5d482492e13 (patch)
tree32d89a14f842094b10d85443984e168d46a19220
parentffd704b0cfbb0b8f2211125e8af72862a0d63ccd (diff)
downloadwekan-70ca6fdec96bf7c465ce12a80540c5d482492e13.tar.gz
wekan-70ca6fdec96bf7c465ce12a80540c5d482492e13.tar.bz2
wekan-70ca6fdec96bf7c465ce12a80540c5d482492e13.zip
Add support for IE11 in fix-download-unicode.
-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');