don't allow html in plugin comment blocks
This commit is contained in:
parent
9a66d47d54
commit
87b424123b
@ -356,6 +356,7 @@ function get_plugin_info($plugin){
|
||||
return $info;
|
||||
|
||||
$f = file_get_contents("addon/$plugin/$plugin.php");
|
||||
$f = escape_tags($f);
|
||||
$r = preg_match("|/\*.*\*/|msU", $f, $m);
|
||||
|
||||
if ($r){
|
||||
|
Reference in New Issue
Block a user