java.lang.IllegalArgumentException: Invalid character found in the request target.

java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986

错误原因是我使用GET方式请求的后台接口,参数中包含了大括号“{}”,比如:http://localhost/article?{%22page%22:0}

详细错误原因可以参考试:https://blog.csdn.net/weixin_41986096/article/details/82785118


45 Clicks !

发表评论

电子邮件地址不会被公开。