Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expandQueryParams methos in HierarchicalUriComponents.java has bug #34280

Open
smallflyfly250 opened this issue Jan 17, 2025 · 1 comment
Open
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged or decided on

Comments

@smallflyfly250
Copy link

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 responseType, Map uriVariables) method.
Through this method, we can find stack trace calls HierarchicalUriComponents.expandQueryParams method,。 During this calling process,no assignment to the queryParams property in this class anywhere, so queryParams size is zero, alwalys can not append variables.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 17, 2025
@bclozel
Copy link
Member

bclozel commented Jan 17, 2025

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.

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged or decided on
Projects
None yet
Development

No branches or pull requests

3 participants