In HierarchicalUriComponents.java , expandQueryParams method want the params expand to uri, but for this method is not.
you can find this issue by use RestTemplate.exchange(String url, HttpMethod method, @Nullable HttpEntity<?> requestEntity, Class
Comment From: bclozel
Instead of explaining where you think the problem is in the codebase please share a minimal sample that reproduces the problem and explain the expected behavior.