tomcat9.0.8页面url带中文参数提交错误The valid characters are defined in RFC 7230 and RFC 39
tomcat9.0.8页面url带中文参数提交错误Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
根据网上的文章在tomcat catalina配置文件中加如下属性:
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
tomcat.util.http.parser.HttpParser.requestTargetAllow=|{}
测试了一下,这两个属性根本不起作用,问题依旧
由于涉及的页面比较多,不想通过编码再解码的方法,有没有简单的方法设置一下配置文件,就可以解决这个问题?
不知道要怎么解决?升级到tomat9.0.12可以轻松解决这个问题吗?还是有其它方法?