ignore keys on xss manage angent groups

This commit is contained in:
marcos 2020-06-19 10:44:43 +02:00
parent b3a270d0b3
commit 415a8aa8b6
1 changed files with 4 additions and 4 deletions

View File

@ -348,7 +348,7 @@ if (($create_group) && (check_acl($config['id_user'], 0, 'PM'))) {
$propagate = (bool) get_parameter('propagate');
$aviable_name = true;
if (preg_match('<script>', $name)) {
if (preg_match('/script/i', $name)) {
$aviable_name = false;
}
@ -403,7 +403,7 @@ if ($update_group) {
$other = (string) get_parameter('other');
$aviable_name = true;
if (preg_match('<script>', $name)) {
if (preg_match('/script/i', $name)) {
$aviable_name = false;
}
@ -724,8 +724,8 @@ if ($tab == 'tree') {
[
'style' => '',
'class' => 'bot',
'alt' => $group['nombre'],
'title' => $group['nombre'],
'alt' => io_safe_input($group['nombre']),
'title' => io_safe_input($group['nombre']),
],
false,
false,