쪽지 발송시 이메일로 험깨 발송되는 콘텐츠의 필터링 보충 추가 (xe1.8.16)

This commit is contained in:
qw5414 2016-02-18 16:49:15 +09:00
parent d06483fb16
commit 160129879a

View file

@ -130,7 +130,7 @@ class communicationController extends communication
$view_url = Context::getRequestUri();
$content = sprintf("%s<br /><br />From : <a href=\"%s\" target=\"_blank\">%s</a>", $content, $view_url, $view_url);
$oMail = new Mail();
$oMail->setTitle($title);
$oMail->setTitle(htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false));
$oMail->setContent(utf8_mbencode(removeHackTag($content)));
$oMail->setSender($logged_info->nick_name, $logged_info->email_address);
$oMail->setReceiptor($receiver_member_info->nick_name, $receiver_member_info->email_address);