N°7604 - Security hardening

This commit is contained in:
jf-cbd
2024-07-04 13:52:19 +02:00
parent 96e1388dde
commit 1aef576403

View File

@@ -51,7 +51,7 @@ class BlockList extends UIContentBlock
{
return '$("#'.$this->sId.'").block();
$.post("ajax.render.php?operation=refreshDashletList",
{ style: "list", filter: "'.$this->sFilter.'", extra_params: '.json_encode($this->aExtraParams).' },
{ style: "list", filter: '.json_encode($this->sFilter).', extra_params: '.json_encode($this->aExtraParams).' },
function(data){
$("#'.$this->sId.'")
.empty()