Angel opened SPR-8636 and commented
Example
@Controller
@SessionAttributes({"context"})
public class AuthenticationAction {
@RequestMapping("/login")
public String login(@RequestParam(required=false, "errorCode") String errorCode,
@ModelAttribute("context") String context) {
return "redirect:/action/login/" + context;
}
}
This example will redirect to the url: .../action/login/{context}?context=value
The parameter "context" and its value should not appear in the url query string by default in this case because they are already in session.
Affects: 3.1 M2
Issue Links:
1 votes, 2 watchers