From 0a85606449490792b0883156f43def3bf283f00b Mon Sep 17 00:00:00 2001 From: bearBoy80 <61624754+bearBoy80@users.noreply.github.com> Date: Thu, 11 Aug 2022 17:37:46 +0800 Subject: [PATCH] delete tomcat relaxedQueryChars code --- eladmin-system/src/main/java/me/zhengjie/AppRun.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/eladmin-system/src/main/java/me/zhengjie/AppRun.java b/eladmin-system/src/main/java/me/zhengjie/AppRun.java index f16bf975..fa4d67ff 100644 --- a/eladmin-system/src/main/java/me/zhengjie/AppRun.java +++ b/eladmin-system/src/main/java/me/zhengjie/AppRun.java @@ -56,13 +56,6 @@ public class AppRun { return new SpringContextHolder(); } - @Bean - public ServletWebServerFactory webServerFactory() { - TomcatServletWebServerFactory fa = new TomcatServletWebServerFactory(); - fa.addConnectorCustomizers(connector -> connector.setProperty("relaxedQueryChars", "[]{}")); - return fa; - } - /** * 访问首页提示 *