You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Nicolucci (JIRA)" <de...@myfaces.apache.org> on 2015/08/26 21:55:45 UTC
[jira] [Commented] (MYFACES-4009) outputLink URL encoding
[ https://issues.apache.org/jira/browse/MYFACES-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715404#comment-14715404 ]
Paul Nicolucci commented on MYFACES-4009:
-----------------------------------------
I believe Mojarra 2.2.x behaves the same way MyFaces does. It seems correct to change this but I'm a bit hesitant since we were behaving the same way the Reference Implementation did. Anyone else have any input here?
> outputLink URL encoding
> ------------------------
>
> Key: MYFACES-4009
> URL: https://issues.apache.org/jira/browse/MYFACES-4009
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.8
> Reporter: Bill Lucy
> Priority: Minor
> Attachments: myfaces-4009.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)