疯狂的狮子li
2023-03-31 df38aad2b56c0f80059e2ae3417182b57926783d
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
29
30
package org.dromara.common.web.config.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * xss过滤 配置属性
 *
 * @author Lion Li
 */
@Data
@ConfigurationProperties(prefix = "xss")
public class XssProperties {
 
    /**
     * 过滤开关
     */
    private String enabled;
 
    /**
     * 排除链接(多个用逗号分隔)
     */
    private String excludes;
 
    /**
     * 匹配链接
     */
    private String urlPatterns;
 
}