[
https://issues.apache.org/jira/browse/MYFACES-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579270#action_12579270
]
Luca Stancapiano commented on MYFACES-1832:
-------------------------------------------
I've seen the problem deeper... HTMLEncoder of myfaces encode characters as 'à'
into '&#224'. It is wrong because if we try to decode this, it'ld became
'à' instead of 'à'. We cannot to encode a special character using '&'.
'&' can to be used only when you pass a '&' character alone. HTMLEncoder
breaks the word, so it is impossible to decode it after. The right encoding for
'à' character is 'à'
> bad charset encoding on <f:param> tag
> -------------------------------------
>
> Key: MYFACES-1832
> URL: https://issues.apache.org/jira/browse/MYFACES-1832
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.1.5, 1.2.0, 1.2.2
> Environment: myfaces 1.1.5
> Reporter: Luca Stancapiano
> Fix For: 1.1.6-SNAPSHOT, 1.1.6
>
>
> there is a bug into myfaces 1.1.5 and up.....
> on a page as it:
> <h:form>
>
> <h:commandLink action="#{Action.execute}">
> <h:outputText value="some"/>
> <f:param name="id" value="#{instance.id}"/>
> </h:commandLink>
> </h:form>
> using <f:param name="id" value="#{instance.id}"> tag inside <h:commandLink> ,
> I see that instance.id value has a bad encoding... if I use a word with
> special characters as à, è, ù, ì as instance.id for example 'modalità' , it
> is encoded into 'modalit&#224' instead of 'modalità' . When I click
> on link through command link, that id cannot to be decoded and so cannot to
> work with the real value ofinstance.id
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.