Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.12
-
None
-
None
Description
xhtml page:
<h:commandButton action="#{user.login}"/>
Java bean:
private String returnUrl = "catalogsearch.jsf?fq=param1&fq=param2&faces-redirect=true&includeViewParams=true"; public String login() { return returnUrl; }
expected http response result:
HTTP/1.1 302 Found Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param1&fq=param2
actual http response result:
HTTP/1.1 302 Found Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param2
Affected versions (myfaces):
- 2.2.9
- 2.2.12