#1154 - WebFlux Link creation starts with clean query parameters.
We now explicitly remove all query parameters from the base URI we use when creating links from method names.
This commit is contained in:
@@ -255,7 +255,8 @@ public class WebFluxLinkBuilder extends TemplateVariableAwareLinkBuilderSupport<
|
||||
PathContainer contextPath = request.getPath().contextPath();
|
||||
|
||||
return UriComponentsBuilder.fromHttpRequest(request) //
|
||||
.replacePath(contextPath.toString());
|
||||
.replacePath(contextPath.toString()) //
|
||||
.replaceQuery("");
|
||||
}
|
||||
|
||||
private static Mono<WebFluxLinkBuilder> linkToInternal(Object invocation) {
|
||||
|
||||
Reference in New Issue
Block a user