Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
2.2.8
-
None
-
None
-
None
Description
We have an interesting behaviour when rendering h:outputLink with nested f:param elements: in the param data, the output href string has spaces encoded with a "+" rather than the expected "%20". For example:
<h:outputLink value="login.xhtml"><h:outputText value="Login page" /><f:param name="username" value="This is a test" /></h:outputLink>
creates the following:
<a href="login.xhtml?username=This+is+a+test">Login page</a>
This already seems to have been discussed in https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1019
I'll attach a patch which resolves this - if it is in fact an issue.