mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-24 20:56:37 +00:00
解决XSS攻击
This commit is contained in:
@ -15,4 +15,11 @@ cache:
|
||||
password: novel@2020117
|
||||
|
||||
|
||||
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
# 过滤开关
|
||||
enabled: true
|
||||
# 排除链接(多个用逗号分隔)
|
||||
excludes: /system/notice/*
|
||||
# 匹配链接 (多个用逗号分隔)
|
||||
urlPatterns: /book/addBookComment,/user/addFeedBack
|
||||
|
Reference in New Issue
Block a user