Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC

找到tomcat下的catalina.properties,在最后一行,

#tomcat.util.http.parser.HttpParser.requestTargetAllow=|

修改为:

tomcat.util.http.parser.HttpParser.requestTargetAllow=|{}

猜你喜欢

转载自blog.csdn.net/qq_20867981/article/details/79961001