Skip to content

Commit 7c50419

Browse files
do not decode query params in request filter
1 parent 9f0c299 commit 7c50419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

independent-projects/resteasy-reactive/client/runtime/src/main/java/org/jboss/resteasy/reactive/client/impl/StorkClientRequestFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public void filter(ResteasyReactiveClientRequestContext requestContext) {
9090
//To avoid the path double encoding we create uri with path=null and set the path after
9191
URI newUri = new URI(scheme,
9292
uri.getUserInfo(), host, port,
93-
null, uri.getQuery(), uri.getFragment());
94-
URI build = UriBuilder.fromUri(newUri).path(actualPath).build();
93+
null, null, uri.getFragment());
94+
URI build = UriBuilder.fromUri(newUri).path(actualPath).replaceQuery(uri.getQuery()).build();
9595
requestContext.setUri(build);
9696
if (measureTime && instance.gatherStatistics()) {
9797
requestContext.setCallStatsCollector(instance);

0 commit comments

Comments
 (0)