Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/8.3' into 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Apr 20, 2024
2 parents 00cc48f + 6841c68 commit 16482d0
Show file tree
Hide file tree
Showing 29 changed files with 6,905 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ used as it is.

fileList.append(
'<li id="' + file.id + '">' +
'<div class="plupload_file_name"><span>' + file.name + '</span></div>' +
'<div class="plupload_file_name"><span>' + plupload.xmlEncode(file.name) + '</span></div>' +
'<div class="plupload_file_action"><a href="#"></a></div>' +
'<div class="plupload_file_status">' + file.percent + '%</div>' +
'<div class="plupload_file_size">' + plupload.formatSize(file.size) + '</div>' +
Expand Down Expand Up @@ -306,7 +306,7 @@ used as it is.

// Rename file and glue extension back on
file.name = targetInput.val() + ext;
targetSpan.html(file.name);
targetSpan.text(file.name);
targetInput.blur();
}
});
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ $.widget("ui.plupload", {
break;
}

message += " <br /><i>" + details + "</i>";
message += " <br /><i>" + plupload.xmlEncode(details) + "</i>";

self._trigger('error', null, { up: up, error: err } );

Expand Down Expand Up @@ -1167,7 +1167,7 @@ $.widget("ui.plupload", {
return ext;

default:
return file[$1] || '';
return plupload.xmlEncode(file[$1] || '');
}
});
});
Expand Down Expand Up @@ -1313,7 +1313,7 @@ $.widget("ui.plupload", {
// Rename file and glue extension back on
if (e.keyCode === 13) {
file.name = nameInput.val() + ext;
nameSpan.html(file.name);
nameSpan.text(file.name);
}
nameInput.blur();
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit 16482d0

Please sign in to comment.