新增 web.strictMode,提供更严格的数据安全验证
This commit is contained in:
@@ -459,6 +459,9 @@ web:
|
||||
# 静态资源路径前缀,可做CDN加速优化
|
||||
staticPrefix: /static
|
||||
|
||||
# 严格模式(更严格的数据安全验证)
|
||||
strictMode: false
|
||||
|
||||
# 自定义正则表达式验证(主键、登录名)
|
||||
validator:
|
||||
id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
|
||||
|
||||
Reference in New Issue
Block a user