Skip to content
Permalink
Browse files
escape url
  • Loading branch information
barisusakli committed Jun 22, 2018
1 parent 70c19ff commit 742ddd358be418ab7eb4dc8c80230b0f7b30f912
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/src/modules/pictureCropper.js
@@ -33,7 +33,7 @@ define('pictureCropper', ['translator', 'cropper', 'benchpress'], function (tran
module.handleImageCrop = function (data, callback) {
$('#crop-picture-modal').remove();
Benchpress.parse('modals/crop_picture', {
url: data.url,
url: utils.escapeHTML(data.url),
}, function (cropperHtml) {
translator.translate(cropperHtml, function (translated) {
var cropperModal = $(translated);

0 comments on commit 742ddd3

Please sign in to comment.