-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
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:
- Problem with URL encoding in org.springframework.web.servlet.view.RedirectView.RedirectView(String url) [SPR-7490] #12148 Problem with URL encoding in org.springframework.web.servlet.view.RedirectView.RedirectView(String url)
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug