mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
small fix
This commit is contained in:
parent
2c20ef30e6
commit
aa86cc11eb
@ -1209,11 +1209,11 @@
|
|||||||
{
|
{
|
||||||
if (is_array($val))
|
if (is_array($val))
|
||||||
{
|
{
|
||||||
_check_script($var[$key]);
|
_check_script_tag($var[$key]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (preg_match('/(<|<)+\/?script(>|>)+/i',$val))
|
if (preg_match('/<\/?script>/i',$val))
|
||||||
{
|
{
|
||||||
unset($var[$key]);
|
unset($var[$key]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user