Skip to content

Commit

Permalink
3.1.4 release with security fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
spocke committed Nov 15, 2021
1 parent c65c9b2 commit 42c00e7
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Tiny values the work of security researchers in improving the security of technology products worldwide. We welcome researchers who wish to responsibly disclose vulnerabilities in our products or systems. Note that we do not offer any “bug bounty” program or any form of payment for disclosed vulnerabilities. If you would like to report a vulnerability, please email infosec@tiny.cloud.
2 changes: 1 addition & 1 deletion js/jquery.plupload.queue/jquery.plupload.queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,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
2 changes: 1 addition & 1 deletion js/jquery.plupload.queue/jquery.plupload.queue.min.js

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

4 changes: 2 additions & 2 deletions js/jquery.ui.plupload/jquery.ui.plupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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 @@ -1305,7 +1305,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
2 changes: 1 addition & 1 deletion js/jquery.ui.plupload/jquery.ui.plupload.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "plupload",
"description": "Plupload is a JavaScript API for dealing with file uploads it supports features like multiple file selection, file type filtering, request chunking, client side image scaling and it uses different runtimes to achieve this such as HTML 5, Silverlight and Flash.",
"version": "3.1.3",
"releaseDate": "2021-03-29",
"version": "3.1.4",
"releaseDate": "2021-11-15",
"author": "Ephox",
"contributors": [{
"name": "Davit Barbakadze",
Expand Down
4 changes: 2 additions & 2 deletions src/jquery.plupload.queue/jquery.plupload.queue.js
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 @@ -301,7 +301,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
4 changes: 2 additions & 2 deletions src/jquery.ui.plupload/jquery.ui.plupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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 @@ -1305,7 +1305,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

0 comments on commit 42c00e7

Please sign in to comment.