升级fastjson到最新版2.0.39

This commit is contained in:
RuoYi
2023-08-15 12:24:16 +08:00
parent df8d6bcd33
commit 1665fa2793
4 changed files with 16 additions and 3 deletions

View File

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