修复 XSS漏洞一处

This commit is contained in:
Comsenz 2017-03-23 15:13:18 +08:00
parent 8c8181f270
commit b5e209ff74
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ $page = max(1, intval($_GET['page']));
$action = $_GET['action'];
$operation = $_GET['operation'];
$start_limit = ($page - 1) * $_G['tpp'];
$_GET['idtype'] = dhtmlspecialchars($_GET['idtype']);
$comma = $typeadd = $filteradd = $forumperm = $targetgroupperm = '';
$magicarray = is_array($_G['cache']['magics']) ? $_G['cache']['magics'] : array();