Skip to content

Commit ae38b42

Browse files
committed
fix: Add configuration for XSS protection and enable whitelist functionality
1 parent 3c7a9b0 commit ae38b42

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

installer/conf/cordys-crm.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ spring.ai.mcp.server.version=1.0.0
3434
# sqlbot.aes-key=your-aes-key
3535
# sqlbot.aes-iv=your-aes-iv
3636

37-
# 启用白名单功能,不开启则不限制访问
37+
# Enable whitelist functionality, if not enabled, access will not be restricted.
3838
dashboard.whitelist.enabled=false
39-
# 白名单开关开启后允许访问的IP地址或域名列表,多个用逗号分隔
39+
# Enable whitelist functionality, if not enabled, access will not be restricted.
4040
dashboard.whitelist.allowed=
41+
42+
# Full HTML escaping switch. When enabled, all tags will be escaped (may affect content display), only enable for special scenarios.
43+
xss.escape.all.enabled=false

0 commit comments

Comments
 (0)