Skip to content

Commit

Permalink
Escaped html code from filter inputs.
Browse files Browse the repository at this point in the history
------
Escapado el html devuelto en los filtros.
  • Loading branch information
NeoRazorX committed May 10, 2022
1 parent 0736f89 commit cc8db28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/Lib/ListFilter/BaseFilter.php
Expand Up @@ -20,6 +20,7 @@
namespace FacturaScripts\Core\Lib\ListFilter;

use FacturaScripts\Core\Base\Translator;
use FacturaScripts\Core\Base\Utils;
use Symfony\Component\HttpFoundation\Request;

/**
Expand Down Expand Up @@ -133,7 +134,7 @@ public function name(): string
*/
public function setValue($value)
{
$this->value = $value;
$this->value = Utils::noHtml($value);
}

/**
Expand Down

0 comments on commit cc8db28

Please sign in to comment.