Skip to content

Commit

Permalink
hhh
Browse files Browse the repository at this point in the history
  • Loading branch information
boomzero committed Aug 11, 2024
1 parent c1091dd commit 70a4b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ export class Process {
if (Data["Content"] === "") {
return new Result(false, "标签内容不能为空");
}
if (Data["Content"].includes("管理员")) {
if (Data["Content"].includes("管理员")||Data["Content"].includes("manage")) {
return new Result(false, "请不要试图冒充管理员");
}
const allowedPattern = /^[\u0000-\u007F\u4E00-\u9FFF\u3400-\u4DBF\u2000-\u206F\u3000-\u303F\uFF00-\uFFEF\uD83C-\uDBFF\uDC00-\uDFFF]*$/;
Expand Down

0 comments on commit 70a4b9a

Please sign in to comment.