浏览代码

开放宽松请求字符集[,]

tsurumure 3 月之前
父节点
当前提交
aaaf820944
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/resources/application.yml

+ 3 - 1
src/main/resources/application.yml

@@ -82,7 +82,9 @@ server:
   compression:
     enabled: true
     mime-types: text/html,text/xml,text/plain,text/css,application/javascript
-#  tomcat:
+  tomcat:
+    # 开放宽松请求字符集
+    relaxed-query-chars: "[,]"
 #    threads:
 #      max: 200