Copy queryParams MultiValueMap through addAll (for independent List entries)

Closes gh-25423
This commit is contained in:
Juergen Hoeller
2020-07-20 07:07:17 +02:00
parent f1345aadf5
commit 65e601090f
2 changed files with 10 additions and 8 deletions

View File

@@ -157,7 +157,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
this.port = other.port;
this.pathBuilder = other.pathBuilder.cloneBuilder();
this.uriVariables.putAll(other.uriVariables);
this.queryParams.putAll(other.queryParams);
this.queryParams.addAll(other.queryParams);
this.fragment = other.fragment;
this.encodeTemplate = other.encodeTemplate;
this.charset = other.charset;