Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 16, 2018. It is now read-only.

Commit592e215

Browse files
committed
Merge pull request#17 from tominoo/patch-1
jquery.html5_upload.js utf8 fix
2 parentsdc4cd57 +9376ecc commit592e215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎jquery.html5_upload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
setProgress:function(value){},
5959

6060
genName:function(file,number,total){
61-
returnfile+"("+(number+1)+"из "+total+")";
61+
returnfile+"("+(number+1)+"of "+total+")";
6262
},
6363
genStatus:function(progress,finished){
6464
if(finished){
@@ -144,7 +144,7 @@
144144
};
145145
xhr.open(options.method,typeof(options.url)=="function" ?options.url(number) :options.url,true);
146146
$.each(options.headers,function(key,val){
147-
val=typeof(val)=="function" ?val(file) :val;// resolve value
147+
val=typeof(val)=="function" ?val(file) :encodeURIComponent(val);// resolve value
148148
if(val===false)returntrue;// if resolved value is boolean false, do not send this header
149149
xhr.setRequestHeader(key,val);
150150
});

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp