xss 관련 태그 제거 함수 추가

This commit is contained in:
chicpro
2014-08-08 13:38:42 +09:00
parent a1e11d9521
commit 1cc13235cf
2 changed files with 9 additions and 1 deletions

View File

@ -252,7 +252,7 @@ if (isset($_REQUEST['PHPSESSID']) && $_REQUEST['PHPSESSID'] != session_id())
$qstr = '';
if (isset($_REQUEST['sca'])) {
$sca = trim($_REQUEST['sca']);
$sca = clean_xss_tags(trim($_REQUEST['sca']));
if ($sca)
$qstr .= '&sca=' . urlencode($sca);
} else {