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
When a request is created from an URI containing an escaped ? the ? will still be interpreted as the start of a query string, e.g. HttpRequest("http://localhost/foo%3Fbar") fails to access the right resource.
This is due to using java.net.URI to parse the URI and URI.getPath returning the path with (partially) escaped segments.
A workarround therefore is to use withPath: HttpRequest("http://localhost").withPath("/foo%3Fbar") works as expected.
The text was updated successfully, but these errors were encountered:
When a request is created from an URI containing an escaped ? the ? will still be interpreted as the start of a query string, e.g.
HttpRequest("http://localhost/foo%3Fbar")
fails to access the right resource.This is due to using java.net.URI to parse the URI and URI.getPath returning the path with (partially) escaped segments.
A workarround therefore is to use withPath:
HttpRequest("http://localhost").withPath("/foo%3Fbar")
works as expected.The text was updated successfully, but these errors were encountered: