Skip to content

Commit

Permalink
Fixed potentially XSS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard13 committed Jun 24, 2018
1 parent 0c8221b commit 2491b51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ require([
maxFileSize: <?= (int) $block->getFileSizeService()->getMaxFileSize() ?> * 10
}, {
action: 'resize',
maxWidth: <?= $block->getUploadImageMaxWidth() ?> ,
maxHeight: <?= $block->getUploadImageMaxHeight() ?>
maxWidth: <?= (int) $block->getUploadImageMaxWidth() ?> ,
maxHeight: <?= (int) $block->getUploadImageMaxHeight() ?>
}, {
action: 'save'
}]
Expand Down

0 comments on commit 2491b51

Please sign in to comment.