Skip to content

Commit

Permalink
feat(#8038): add url encode feature to WebClient (#8171)
Browse files Browse the repository at this point in the history
  • Loading branch information
tivadarbocz authored Dec 18, 2020
1 parent 6a2ba0e commit f19f706
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ public class ApiClient{{#java8}} extends JavaTimeFormatter{{/java8}} {
builder.queryParams(queryParams);
}

final WebClient.RequestBodySpec requestBuilder = webClient.method(method).uri(builder.build(false).toUriString(), pathParams);
final WebClient.RequestBodySpec requestBuilder = webClient.method(method).uri(builder.encode().toUriString(), pathParams);
if(accept != null) {
requestBuilder.accept(accept.toArray(new MediaType[accept.size()]));
}
Expand Down

0 comments on commit f19f706

Please sign in to comment.