CC-2740: Upload issue

- fixed a bug for uploading a file with "+" signs in IE
This commit is contained in:
James 2011-08-30 15:25:33 -04:00
parent 7335dcc2b3
commit d0ecd0acf1
2 changed files with 4 additions and 3 deletions

View file

@ -25,7 +25,7 @@ $(document).ready(function() {
$("#plupload_error").find("table").append(row);
}else{
$.get('/Plupload/copyfile/format/json/name/'+file.name, function(json){
$.get('/Plupload/copyfile/format/json/name/'+encodeURIComponent(file.name), function(json){
var jr = jQuery.parseJSON(json);
if(jr.error !== undefined) {
var row = $("<tr/>")