-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
Affects: 5.2.7.RELEASE
public static void main(String[] args) {
UriComponentsBuilder b1 = UriComponentsBuilder.fromUriString("example.com");
b1.queryParam("param", "x");
UriComponentsBuilder b2 = b1.cloneBuilder();
System.out.println("b1: " + b1.build().toUriString());
System.out.println("b2: " + b2.build().toUriString());
b1.queryParam("param", "y");
System.out.println("b1: " + b1.build().toUriString());
System.out.println("b2: " + b2.build().toUriString());
}actual output:
b1: example.com?param=x
b2: example.com?param=x
b1: example.com?param=x¶m=y
b2: example.com?param=x¶m=y
expected output:
b1: example.com?param=x
b2: example.com?param=x
b1: example.com?param=x¶m=y
b2: example.com?param=x
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
