forked from extern/egroupware
small fix
This commit is contained in:
parent
febb03c9f1
commit
19e5c50947
@ -1205,11 +1205,11 @@
|
||||
{
|
||||
if (is_array($val))
|
||||
{
|
||||
_check_script($var[$key]);
|
||||
_check_script_tag($var[$key]);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (preg_match('/(<|<)+\/?script(>|>)+/i',$val))
|
||||
if (preg_match('/<\/?script>/i',$val))
|
||||
{
|
||||
unset($var[$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user