Skip to content

Commit

Permalink
Fixed issue #18041: [security] KCFInder using old JQuery/jQuery UI ve…
Browse files Browse the repository at this point in the history
…rsion (#2373)
  • Loading branch information
gabrieljenik committed May 10, 2022
1 parent 4b8048e commit 16aa81f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 35 deletions.
29 changes: 10 additions & 19 deletions third_party/kcfinder/cache/base.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions third_party/kcfinder/js/000._jquery.js

Large diffs are not rendered by default.

13 changes: 3 additions & 10 deletions third_party/kcfinder/js/002._jqueryui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion third_party/kcfinder/js/060.toolbar.js
Expand Up @@ -127,7 +127,7 @@ _.uploadFile = function(form) {
$('<iframe id="uploadResponse" name="uploadResponse" src="javascript:;"></iframe>').prependTo(document.body);
$('#loading').html(_.label("Uploading file...")).show();
form.submit();
$('#uploadResponse').load(function() {
$('#uploadResponse').on('load', function() {
var response = $(this).contents().find('body').text();
$('#loading').hide();
response = response.split("\n");
Expand Down

0 comments on commit 16aa81f

Please sign in to comment.