From ee2f76df2544b997a9e9afffd547b7898f439ea9 Mon Sep 17 00:00:00 2001 From: taggon Date: Fri, 3 Dec 2010 02:43:20 +0000 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7950 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/plugins/uploader/uploader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/plugins/uploader/uploader.js b/common/js/plugins/uploader/uploader.js index c58642d8a..fe83a3bd7 100644 --- a/common/js/plugins/uploader/uploader.js +++ b/common/js/plugins/uploader/uploader.js @@ -364,8 +364,8 @@ runtimes.html5 = { data += val+'\r\n'; }); - // Firefox has a bug that regonises some unicode filename as invalid string. - // So, I make a workaround to encode the filename by RFC2231 + // Firefox had a bug that recognises some unicode filename as invalid string. + // So, I made a workaround to encode the filename by RFC2231 data += '--'+bndr+'\r\n'; data += 'Content-Disposition: form-data; name="Filedata"; filename="=?UTF-8?B?'+Base64.encode(file.name)+'?="\r\n'; data += 'Content-Type: application/octet-stream\r\n\r\n';