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:
@@ -210,7 +210,7 @@ $(document).ready( function() {
|
||||
}
|
||||
|
||||
$('#btn_create_tok').off().on('click',function() {
|
||||
requestToken($('#tok_comment').val())
|
||||
requestToken(encodeHTML($('#tok_comment').val()))
|
||||
$('#tok_comment').val("")
|
||||
$('#btn_create_tok').attr('disabled', true)
|
||||
});
|
||||
|
Reference in New Issue
Block a user