mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-21 08:59:55 -04:00
Fixing all detected XSS vectors in PHP->JS code.
Xss: Rename UNKNOWN back to DIRTY, JS_XSS to DIRTY_JS. (using a different flag value to highlight potential XSS vectors in JS)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<?= $theme->script("gallery.common.js") ?>
|
||||
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
|
||||
<script type="text/javascript">
|
||||
var MSG_CANCEL = "<?= t('Cancel') ?>";
|
||||
var MSG_CANCEL = "<?= t('Cancel')->for_js() ?>";
|
||||
</script>
|
||||
<?= $theme->script("gallery.dialog.js") ?>
|
||||
<?= $theme->script("superfish/js/superfish.js") ?>
|
||||
|
||||
Reference in New Issue
Block a user