mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix 1292 - Avoid XSS (#1297)
* Fix 1292 - Avoid XSS * Fix XSS on EffectConfiguration
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
$(document).ready(function () {
|
||||
performTranslation();
|
||||
|
||||
// update instance listing
|
||||
updateHyperionInstanceListing();
|
||||
// update instance listing
|
||||
updateHyperionInstanceListing();
|
||||
|
||||
var oldDelList = [];
|
||||
var effectName = "";
|
||||
@@ -120,7 +120,7 @@ $(document).ready(function () {
|
||||
|
||||
// disable or enable control elements
|
||||
$("#name-input").on('change keyup', function (event) {
|
||||
effectName = $(this).val();
|
||||
effectName = encodeHTML($(this).val());
|
||||
if ($(this).val() == '') {
|
||||
effects_editor.disable();
|
||||
$("#eff_footer").children().attr('disabled', true);
|
||||
|
Reference in New Issue
Block a user