🔧 修改配置文件。 默认关闭xss
This commit is contained in:
1 parent
063fc88361
commit
1c4d5be077
2 files changed
+2
-5
No files matched your search
+2
-2
@@ -36,9 +36,9 @@ public class PigxXssProperties {
|
||||
public static final String PREFIX = "security.xss";
|
||||
|
||||
/**
|
||||
* 开启xss
|
||||
* 开启xss,默认关闭: 建议生产环境开启
|
||||
*/
|
||||
private boolean enabled = true;
|
||||
private boolean enabled = false;
|
||||
|
||||
/**
|
||||
* 全局:对文件进行首尾 trim
|
||||
|
||||
-3
@@ -118,9 +118,6 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
|
||||
// 个性化校验逻辑
|
||||
List<SysRole> roleList = this.list();
|
||||
|
||||
for (RoleExcelVO excel : excelVOList) {
|
||||
|
||||
}
|
||||
// 执行数据插入操作 组装 RoleDto
|
||||
for (RoleExcelVO excel : excelVOList) {
|
||||
Set<String> errorMsg = new HashSet<>();
|
||||
|
||||
Reference in new issue
Block a user