diff --git a/bbs/qawrite_update.php b/bbs/qawrite_update.php index be8193ce3..7e1c10226 100644 --- a/bbs/qawrite_update.php +++ b/bbs/qawrite_update.php @@ -403,7 +403,7 @@ if($w == 'a' && $write['qa_email_recv'] && trim($write['qa_email'])) { include_once(G5_LIB_PATH.'/mailer.lib.php'); $subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 답변 알림 메일'; - $content = nl2br(conv_unescape_nl($qa_content)); + $content = nl2br(conv_unescape_nl(stripslashes($qa_content))); mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $write['qa_email'], $subject, $content, 1); } @@ -413,7 +413,7 @@ if(($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) { include_once(G5_LIB_PATH.'/mailer.lib.php'); $subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 질문 알림 메일'; - $content = nl2br(conv_unescape_nl($qa_content)); + $content = nl2br(conv_unescape_nl(stripslashes($qa_content))); mailer($config['cf_admin_email_name'], $qa_email, $qaconfig['qa_admin_email'], $subject, $content, 1); } diff --git a/bbs/write_update.php b/bbs/write_update.php index 0bf65612e..4bf43a4ac 100644 --- a/bbs/write_update.php +++ b/bbs/write_update.php @@ -607,7 +607,7 @@ if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_emai else if (strstr($html, 'html2')) $tmp_html = 2; - $wr_content = conv_content(conv_unescape_nl($wr_content), $tmp_html); + $wr_content = conv_content(conv_unescape_nl(stripslashes($wr_content)), $tmp_html); $warr = array( ''=>'입력', 'u'=>'수정', 'r'=>'답변', 'c'=>'코멘트', 'cu'=>'코멘트 수정' ); $str = $warr[$w];