1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| package org.dromara.common.web.config.properties;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
|
| import java.util.ArrayList;
| import java.util.List;
|
| /**
| * xss过滤 配置属性
| *
| * @author Lion Li
| */
| @Data
| @ConfigurationProperties(prefix = "xss")
| public class XssProperties {
|
| /**
| * Xss开关
| */
| private Boolean enabled;
|
| /**
| * 排除路径
| */
| private List<String> excludeUrls = new ArrayList<>();
|
| }
|
|