From e7703c6f48b7545c4baf41a9777f6719ae9de5c2 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 17 Sep 2023 00:46:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=A7=BB=E9=99=A4=20netty-all=EF=BC=8C?= =?UTF-8?q?=E5=87=8F=E5=B0=91=E4=BE=9D=E8=B5=96=202.=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20xss=20=E6=97=A0=E6=B3=95=E7=A6=81=E7=94=A8=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-dependencies/pom.xml | 7 ------- yudao-framework/yudao-spring-boot-starter-redis/pom.xml | 5 ----- .../framework/xss/config/YudaoXssAutoConfiguration.java | 1 + 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index fef2fd021..b42f61988 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -67,7 +67,6 @@ 3.9.0 0.1.55 2.7.0 - 4.1.90.Final 2.7.0 0.10.2 @@ -580,12 +579,6 @@ ${jsch.version} - - io.netty - netty-all - ${netty-all.version} - - com.xingyuv spring-boot-starter-captcha-plus diff --git a/yudao-framework/yudao-spring-boot-starter-redis/pom.xml b/yudao-framework/yudao-spring-boot-starter-redis/pom.xml index 13b447b71..b015c8492 100644 --- a/yudao-framework/yudao-spring-boot-starter-redis/pom.xml +++ b/yudao-framework/yudao-spring-boot-starter-redis/pom.xml @@ -32,11 +32,6 @@ spring-boot-starter-cache - - io.netty - netty-all - - com.fasterxml.jackson.datatype jackson-datatype-jsr310 diff --git a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/xss/config/YudaoXssAutoConfiguration.java b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/xss/config/YudaoXssAutoConfiguration.java index d5d892c07..8cf5d5360 100644 --- a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/xss/config/YudaoXssAutoConfiguration.java +++ b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/xss/config/YudaoXssAutoConfiguration.java @@ -21,6 +21,7 @@ import static cn.iocoder.yudao.framework.web.config.YudaoWebAutoConfiguration.cr @AutoConfiguration @EnableConfigurationProperties(XssProperties.class) +@ConditionalOnProperty(prefix = "yudao.xss", name = "enable", havingValue = "true", matchIfMissing = true) // 设置为 false 时,禁用 public class YudaoXssAutoConfiguration implements WebMvcConfigurer { /**