@JSONQuery没对特殊字符转义,导致违反RFC 7230、RFC 3986
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
客户端
```
@Request("http://localhost:8080/params")
String jsonQueryListCall(@JSONQuery("ids") List ids);
```
```
2022-12-15 10:27:23,576 INFO c.d.f.c.ForestConfiguration [main] : [Forest] Http Backend: okhttp3
2022-12-15 10:27:23,692 INFO c.d.f.l.ForestLogger [main] : [Forest] Request (okhttp3):
GET http://localhost:8080/params?ids=[1,2] HTTP
2022-12-15 10:27:23,709 INFO c.d.f.l.ForestLogger [main] : [Forest] Response: Status = 400, Time = 13ms
2022-12-15 10:27:23,709 INFO c.d.f.l.ForestLogger [main] : [Forest] Response Content:
HTTP Status 400 – Bad Requestbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}
HTTP Status 400 – Bad Request
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.