XSS 취약점(16-995, 1003) 수정

This commit is contained in:
thisgun
2017-01-05 12:29:20 +09:00
parent b705117c0d
commit 27d603a804
4 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ $is_score = (int)$_POST['is_score'] > 5 ? 0 : (int)$_POST['is_score'];
check_itemuse_write($it_id, $member['mb_id']);
if ($w == "" || $w == "u") {
$is_name = addslashes($member['mb_name']);
$is_name = addslashes(strip_tags($member['mb_name']));
$is_password = $member['mb_password'];
if (!$is_subject) alert("제목을 입력하여 주십시오.");