Merge branch 'dhtml-editor' into ckeditor4

This commit is contained in:
kagla authored and GitHub committed 2021-07-06 15:41:07 +09:00
commit bda235bf01
11 files changed
+47 -43

No files matched your search

+2 -3
View File
@@ -11,7 +11,7 @@ for ($i=0; $i<count($filter); $i++) {
$str = $filter[$i];
// 제목 필터링 (찾으면 중지)
$subj = "";
$subj = $cont = "";
$pos = stripos($subject, $str);
if ($pos !== false) {
$subj = $str;
@@ -19,7 +19,6 @@ for ($i=0; $i<count($filter); $i++) {
}
// 내용 필터링 (찾으면 중지)
$cont = "";
$pos = stripos($content, $str);
if ($pos !== false) {
$cont = $str;
@@ -27,4 +26,4 @@ for ($i=0; $i<count($filter); $i++) {
}
}
die("{\"subject\":\"$subj\",\"content\":\"$cont\"}");
die("{\"subject\":\"{$subj}\",\"content\":\"{$cont}\"}");
+2 -1
View File
@@ -79,7 +79,8 @@ if(is_file($skin_file)) {
else
$content = "\n\n\n\n====== 이전 답변내용 =======\n";
$content .= get_text($write['qa_content'], 0);
// KISA 취약점 권고사항 Stored XSS (210624)
$content .= get_text(html_purifier($write['qa_content']), 0);
} else {
//$content = get_text($write['qa_content'], 0);