#1858 쪽지 발송 시 이메일로 함께 발송하는 콘텐츠의 필터링 추가

- 이메일로 전송되는 본문에 대한 필터링 적용
This commit is contained in:
bnu 2016-02-18 13:14:02 +09:00
parent c11732b1e9
commit 8ac578d7b9

View file

@ -131,8 +131,8 @@ 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->setContent($content);
$oMail->setTitle(htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false););
$oMail->setContent(removeHackTag($content));
$oMail->setSender($logged_info->nick_name, $logged_info->email_address);
$oMail->setReceiptor($receiver_member_info->nick_name, $receiver_member_info->email_address);
$oMail->send();