消息 在请求目标中找到无效字符。有效字符在RFC 7230和RFC 3986中定义错误

消息 在请求目标中找到无效字符。有效字符在RFC 7230和RFC 3986中定义错误

img

向server.xml 中Connector添加了

relaxedPathChars="|{}[],%,&" relaxedQueryChars="|{}[],%,&
仍报错是什么缘故,帮忙看下,谢谢

executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" 
           URIEncoding="utf-8" relaxedPathChars="|{}[],%,&"
      relaxedQueryChars="|{}[],%,&"/>
    -->

把最后的}去掉试试