[Bug] Server-Example HTTP header line does not conform to RFC 7230 and has been ignored. #1447
Closed
1 task done
Labels
type: bug
Something isn't working
Search before asking
Environment
Windows
Hippo4j version
1.5.0
What happened
在Server模式下,启动 ServerExampleApplication后其向ServerApplication发起请求出现 does not conform to RFC 7230 and has been ignored.(不符合 RFC 7230 并已被忽略)
ServerApplication控制台信息:
ServerExampleApplication控制台信息:
初步确认问题是:
高版本8.x后的 tomcat版本 中的新特性:就是严格按照 RFC 7230 规范进行访问解析。
请求地址传参时,在url中传了一段带有特殊字符的参数,参数中有不在RFC7230 中的保留字段中,所以会报这个错。
解决方法:
配置转义字符,解决当请求路径中特殊字符,解决高版本Tomcat对接口参数限制字符,解析失败从而出现RFC7230、RFC3986问题
The text was updated successfully, but these errors were encountered: