安全防护
This commit is contained in:
1 parent
1daf477899
commit
98657ace5b
25 files changed
+570
-4
No files matched your search
@@ -0,0 +1,4 @@
|
||||
# Boot 2.2 的默认 YAML loader 依赖 SnakeYAML 1.x 已删除的无参构造器。
|
||||
# 工厂优先级确保配置加载时选择本安全适配器,不需要升级整套 Spring。
|
||||
org.springframework.boot.env.PropertySourceLoader=\
|
||||
com.ruoyi.system.security.SafeYamlPropertySourceLoader
|
||||
Reference in new issue
Block a user