1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-22 20:09:58 +01:00

Fix del bug #134 per i filtri aggiuntivi

This commit is contained in:
Thomas Zilio 2018-01-31 09:52:26 +01:00
parent abd26ffec0
commit 3f7e4fc418

View File

@ -88,8 +88,8 @@ switch (filter('op')) {
$rs = true;
foreach ((array) $post['query'] as $c => $k) {
// Fix per la protezone contro XSS
$post['query'][$c] = htmlspecialchars_decode($post['query'][$c], ENT_QUOTES);
// Fix per la protezone contro XSS, che interpreta la sequenza "<testo" come un tag HTML
$post['query'][$c] = $_POST['query'][$c];
if (check_query($post['query'][$c])) {
$array = [