You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Melloware (Jira)" <de...@myfaces.apache.org> on 2021/10/07 11:49:00 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=17425505#comment-17425505 ] 

Melloware commented on MYFACES-4009:
------------------------------------

This is now issue: https://github.com/eclipse-ee4j/faces-api/issues/1408

> 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
(v8.3.4#803005)