Skip to content

Commit

Permalink
Merge pull request #88 from a-dorosh/master
Browse files Browse the repository at this point in the history
Fixed uploading files with cyrillic names
  • Loading branch information
LPology committed Mar 17, 2015
2 parents e74d74e + b3bbb93 commit cee25dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimpleAjaxUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ ss.XhrUpload = {

for ( var i in headers ) {
if ( headers.hasOwnProperty( i ) ) {
xhr.setRequestHeader( i, headers[ i ] + '' );
xhr.setRequestHeader( i, encodeURIComponent(headers[ i ]) + '' );
}
}

Expand Down

0 comments on commit cee25dc

Please sign in to comment.