XSS 취약점(16-059) 수정

This commit is contained in:
chicpro committed 2016-01-20 14:29:32 +09:00
1 parent cd72e1c06b
commit 43f4b2c5fb
5 files changed
+6 -4

No files matched your search

+6
View File
@@ -28,6 +28,12 @@ if ($sendmail_count > 3)
$g5['title'] = '메일 쓰기';
include_once(G5_PATH.'/head.sub.php');
$email = get_email_address(base64_decode($email));
if(!$email)
alert_close('이메일이 올바르지 않습니다.');
$email = base64_encode($email);
if (!$name)
$name = base64_decode($email);
else