Commit c5caa683 authored by Medicean's avatar Medicean

(Fix:Core) 修正core buff 与 text 过滤规则不一致问题

parent aefac90e
...@@ -304,7 +304,7 @@ class Base { ...@@ -304,7 +304,7 @@ class Base {
return res({ return res({
'encoding': encoding || "", 'encoding': encoding || "",
'text': antSword.noxss(text, false), 'text': antSword.noxss(text, false),
'buff': Buffer.from(antSword.noxss(buff.toString()), false) 'buff': Buffer.from(antSword.noxss(buff.toString(), false))
}); });
}) })
// HTTP请求返回字节流 // HTTP请求返回字节流
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment