UriComponentsBuilder doesn't encode + in the value .. here is the test which it fails
UriComponents components = UriComponentsBuilder.fromHttpUrl("http://localhost/path")
.queryParam("p","{v}")
.buildAndExpand("a+b=")
.encode();
assertEquals("p=a%2Bb%3D", components.getQuery());
Expected :p=a%2Bb%3D Actual :p=a+b%3D
Affects: org.springframework:spring-web:5.3.18
Comment From: bclozel
Closing as invalid as this has been done on purpose in #23025, see this comment in particular and the reference documentation on URI encoding.
Comment From: nitesr
@bclozel - Thank you! I also got the usage of RestTemplate from above thread.