취약점 보안 및 코드 개선

This commit is contained in:
thisgun
2019-02-14 09:56:47 +09:00
parent d0eb0601ad
commit 9c03cd85b6
5 changed files with 26 additions and 19 deletions

View File

@ -11,7 +11,7 @@ if (!chk_captcha()) {
alert('자동등록방지 숫자가 틀렸습니다.');
}
$email = trim($_POST['mb_email']);
$email = get_email_address(trim($_POST['mb_email']));
if (!$email)
alert_close('메일주소 오류입니다.');