mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 05:49:04 +00:00
UriComponentsBuilder.cloneBuilder copies uriVariables
Closes gh-24772
This commit is contained in:
@@ -152,6 +152,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
|
||||
this.host = other.host;
|
||||
this.port = other.port;
|
||||
this.pathBuilder = other.pathBuilder.cloneBuilder();
|
||||
this.uriVariables.putAll(other.uriVariables);
|
||||
this.queryParams.putAll(other.queryParams);
|
||||
this.fragment = other.fragment;
|
||||
this.encodeTemplate = other.encodeTemplate;
|
||||
|
||||
Reference in New Issue
Block a user