You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bill Lucy (JIRA)" <de...@myfaces.apache.org> on 2015/08/07 22:48:45 UTC

[jira] [Created] (MYFACES-4009) outputLink URL encoding

Bill Lucy created MYFACES-4009:
----------------------------------

             Summary: 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


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)