mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-23 22:03:18 +01:00
Fix del bug #134
This commit is contained in:
parent
ef36f98f8e
commit
abd26ffec0
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user