XSS 취약점 및 특수문자 치환오류 수정

This commit is contained in:
chicpro
2015-09-18 16:25:01 +09:00
parent b456c0feae
commit 688bc53da9
17 changed files with 40 additions and 53 deletions

View File

@ -17,7 +17,7 @@ function popular($skin_dir='basic', $pop_cnt=7, $date_cnt=3)
for ($i=0; $row=sql_fetch_array($result); $i++) {
$list[$i] = $row;
// 스크립트등의 실행금지
$list[$i]['pp_word'] = get_text($list[$i]['pp_word']);
//$list[$i]['pp_word'] = get_text($list[$i]['pp_word']);
}
if(preg_match('#^theme/(.+)$#', $skin_dir, $match)) {