增加web严格模式 web.strictMode=false(更严格的数据安全验证,如isAll=true这种参数形式将被禁用)

This commit is contained in:
thinkgem
2019-05-01 23:49:59 +08:00
parent ddc8510479
commit 36dd4c70bc
10 changed files with 18 additions and 12 deletions

View File

@@ -476,6 +476,9 @@ logging:
# # 静态资源路径前缀可做CDN加速优化
# staticPrefix: /static
#
# # 严格模式(更严格的数据安全验证)
# strictMode: false
#
# # 自定义正则表达式验证(主键、登录名)
# validator:
# id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'