forked from extern/egroupware
fixed probs pointed out by Joxean Koret
This commit is contained in:
parent
1660dc3d2a
commit
287e0fc91c
@ -1209,7 +1209,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (preg_match('/<\/?script>/i',$val))
|
||||
if (preg_match('/<\/?[^>]*(script|onabort|onblur|onchange|onclick|ondblclick|onerror|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onreset|onselect|onsubmit|onunload|javascript)+[^>]*>/i',$val))
|
||||
{
|
||||
unset($var[$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user