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

标签: tomcat
4人阅读 评论(0) 收藏 举报
分类:

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

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

修改为:

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

查看评论

invalid character found in the request target the valid characters are defined in rfc 7230 and rfc

版权声明:本文为博主原创文章,未经博主允许不得转载。 参考:http://blog.csdn.net/wtljiayou/article/details/53996351  tomcat如果是8,...
  • zhangli865621030
  • zhangli865621030
  • 2017-04-19 16:28:12
  • 3065

invalid character found in the request target the valid characters are defined in rfc 7230 and rfc 3

参考:http://blog.csdn.net/wtljiayou/article/details/53996351  tomcat如果是8,换成7   版本不要超过  7.0.69  因为我的不知道...
  • laokaizzz
  • laokaizzz
  • 2017-03-07 10:13:58
  • 14494

Tomcat8 -Invalid character found in the request target.

Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC ...
  • J080624
  • J080624
  • 2017-08-29 17:03:00
  • 426

解决Tomcat报Invalid character found in the request target. The valid characters are defined in RFC 3986

解决Tomcat报Invalid character found in the request target. The valid characters are defined in RFC 3986...
  • hujunxiang
  • hujunxiang
  • 2017-12-07 16:20:07
  • 3497

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

Tomcat在 7.0.73, 8.0.39, 8.5.7 版本后,添加了对于http头的验证。   具体来说,就是添加了些规则去限制HTTP头的规范性 具体来说: org.a...
  • sujiacheng_123
  • sujiacheng_123
  • 2017-07-18 22:30:10
  • 5480

The valid characters are defined in RFC 7230 and RFC 3986 解决办法

tomcat对URL有严格的限制,tomcat9.0相对于tomcat 8.0对URL做出了一些更严格的限制。所以上述错误就是你的url出现了一些不符合规定的字符,如常见的中文、/、\、#等等RFC3...
  • lpch0825
  • lpch0825
  • 2018-03-01 09:55:45
  • 183

Springboot内置Tomcat版本导致的“The valid characters are defined in RFC 7230 and RFC 3986”错误

不用tomcat,改用jetty可以解决 在pom文件中排除tomcat的starter dependency> groupId>org.springframework.b...
  • draven1122
  • draven1122
  • 2017-07-25 10:48:22
  • 1040

tomcat7.0.70升级为7.0.76后异常 Invalid character found in the request target. 解决

tomcat7.0.70升级为7.0.76后异常 Invalid character found in the request target. 解决
  • mk900715
  • mk900715
  • 2017-03-28 15:18:10
  • 20075

The valid characters are defined in RFC 7230 and RFC 3986错误

IE11浏览器,tomcat8.5.23版本下部署的web项目提交get请求时提示如下错误,其他浏览器正常不报错。 信息 [http-nio-8080-exec-10] org.apach...
  • markximo
  • markximo
  • 2018-03-02 17:44:53
  • 42

Java Web工程报"Invalid character found in the request target"错误的解决方案

一、 问题日志 信息: Error parsing HTTP request header Note: further occurrences of HTTP request parsing ...
  • zy13608089849
  • zy13608089849
  • 2018-04-12 10:11:27
  • 25
    个人资料
    持之以恒
    等级:
    访问量: 2万+
    积分: 1298
    排名: 3万+
    最新评论