Skip to content

Possible regression in "redirect" views between Spring 3.0.2 and Spring 3.0.4 [SPR-7532] #12190

@spring-projects-issues

Description

@spring-projects-issues

Grant Gochnauer opened SPR-7532 and commented

In Spring 3.0.2, our MVC controllers returned a redirect view via the XML definition as follows:

<property name="redeemedView" value="redirect: /promo/us/avivaSkinsRedeemed.htm"/>

The redirect included the context path of the application: "promo". However in Spring 3.0.4, we've found that we've had to go through and change all the redirects to exclude the context path. So now our redirect looks like:

<property name="redeemedView" value="redirect:/us/avivaSkinsRedeemed.htm"/>

So we had to remove the context path from the redirect. Is it correct that we'd normally want to include a context path when issuing a redirect call?

Thank you!


Affects: 3.0.4

Issue Links:

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