Merge branch 'master' of github.com:gnuboard/g5 into g54

This commit is contained in:
thisgun committed 2018-11-22 18:16:52 +09:00
commit c43dc3ee9e
13 files changed
+25 -14

No files matched your search

+2
View File
@@ -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;
}