Skip to content

expandQueryParams methos in HierarchicalUriComponents.java has bug #34280

@smallflyfly250

Description

@smallflyfly250

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions