Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLDecoder Error #19

Closed
junchenChow opened this issue Sep 20, 2018 · 1 comment
Closed

URLDecoder Error #19

junchenChow opened this issue Sep 20, 2018 · 1 comment

Comments

@junchenChow
Copy link

junchenChow commented Sep 20, 2018

请求带有%符号的时候 请求就报错了...log 显示这个玩意儿

java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern : %)3
at com.jess.arms.http.log.RequestInterceptor.parseParams(RequestInterceptor.java:211)
at com.jess.arms.http.log.RequestInterceptor.intercept(RequestInterceptor.java:86)

CharacterHandler.jsonFormat(URLDecoder.decode(requestbuffer.readString(charset), convertCharset(charset)));指向了这个方法
inter

@JessYanCoding
Copy link
Owner

兄弟,issues 提出位置了,这是 arms 的问题,并且已经修复,下个版本 release,release 之前要不 builder.printHttpLogLevel(RequestInterceptor.Level.RESPONSE); 关闭请求的打印,要不自己对请求的数据进行 URLEncoder.encode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants