【发布时间】:2020-10-26 18:41:40
【问题描述】:
对于 URL https://example.com?price[gte]=100 我得到了异常
ava.lang.IllegalArgumentException: Invalid character found in the request target [?price[gte]=100]. The valid characters are defined in RFC 7230 and RFC 3986
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:491) ~[tomcat-embed-core-9.0.36.jar:9.0.36]
如何解决这个问题?
【问题讨论】:
-
你检查过相关问题吗? stackoverflow.com/questions/41053653/…
标签: spring-boot spring-mvc query-parameters