1
0
forked from aixan/RuoYi-Vue

自动识别json对象白名单配置范围缩小

This commit is contained in:
RuoYi
2025-08-09 10:57:40 +08:00
parent 624c52b568
commit 2eceac52cf

View File

@@ -158,7 +158,7 @@ public class Constants
/**
* 自动识别json对象白名单配置仅允许解析的包名范围越小越安全
*/
public static final String[] JSON_WHITELIST_STR = { "org.springframework", "com.ruoyi" };
public static final String[] JSON_WHITELIST_STR = { "com.ruoyi" };
/**
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)