We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8002055 commit 1f91b0eCopy full SHA for 1f91b0e
core/src/main/java/feign/RequestTemplate.java
@@ -518,7 +518,7 @@ public RequestTemplate target(String target) {
518
}
519
520
/* strip the query string */
521
- this.target = targetUri.getScheme() + "://" + targetUri.getAuthority() + targetUri.getPath();
+ this.target = targetUri.getScheme() + "://" + targetUri.getRawAuthority() + targetUri.getRawPath();
522
if (targetUri.getFragment() != null) {
523
this.fragment = "#" + targetUri.getFragment();
524
0 commit comments