tomcat安装目录,\tomcat-8.5.66\conf
文件夹下 有个 server.xml
文件,找到 <connector>
标签,在后面添加以下:
向server.xml 中Connector添加
relaxedPathChars="|{}[],%" relaxedQueryChars="|{}[],%"
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" relaxedPathChars="|{}[],%" relaxedQueryChars="|{}[],%"/>
标签:xml,字符,Tomcat,tomcat,RFC,7230 From: https://www.cnblogs.com/Fooo/p/17576114.html