XSS 취약점(16-059) 수정

This commit is contained in:
chicpro committed 2016-02-11 10:58:31 +09:00
1 parent 1e011ba56d
commit 20b1d8c7e5
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