You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2019. It is now read-only.
UrlEncoder encodes spaces as + instead of %20, which is consistent with application/x-www-form-urlencoded and OK in query strings, but causes an error if it's in other components.
A solution would be to use java.net.URI to build the uri. I can write a PR if needed.
The text was updated successfully, but these errors were encountered:
I too got bitten by this today. Technically it should be fixed in the URLEncoder class, but as long as the Java library implementation isn't fully standard compliant you should implement a suitable workaround.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
UrlEncoder
encodes spaces as+
instead of%20
, which is consistent withapplication/x-www-form-urlencoded
and OK in query strings, but causes an error if it's in other components.A solution would be to use
java.net.URI
to build the uri. I can write a PR if needed.The text was updated successfully, but these errors were encountered: