Skip to content

@PathVariable values sent as query parameters in redirect unexpectedly [SPR-8448] #13094

@spring-projects-issues

Description

@spring-projects-issues

Keith Donald opened SPR-8448 and commented

I have a '@PathVariable String providerId' MethodParameter declaration on a @Controller that returns a RedirectView. The redirect is sent with s 'providerId=<value>' query parameter present in the URL, which was not expected or needed. I consider this a bug because in my case this behavior pollutes the URL the end-user sees with a parameter that is not needed/relevant.


Affects: 3.1 M2

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions