XSS 대응 코드 추가

This commit is contained in:
chicpro committed 2014-10-17 14:04:51 +09:00
1 parent 31bdd584e4
commit c3390ef902
8 files changed
+8 -8

No files matched your search

+1 -1
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 = $member['mb_name'];
$is_name = addslashes($member['mb_name']);
$is_password = $member['mb_password'];
if (!$is_subject) alert("제목을 입력하여 주십시오.");