1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 13:58:25 +01:00

Fix del bug #134

This commit is contained in:
Thomas Zilio 2018-01-31 09:50:36 +01:00
parent ef36f98f8e
commit abd26ffec0

View File

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