Merge branch 'master' of github.com:gnuboard/g5 into g54
This commit is contained in:
commit
c43dc3ee9e
13 files changed
+25
-14
No files matched your search
@@ -2992,6 +2992,8 @@ function clean_xss_tags($str)
|
||||
{
|
||||
$str = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $str);
|
||||
|
||||
$str = str_replace(array('<script>','</script>','<noscript>','</noscript>'), '', $str);
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user