You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ulrich Stärk (Commented JIRA)" <ji...@apache.org> on 2011/12/07 19:34:42 UTC
[jira] [Commented] (TAP5-1768) @ActivationRequestParameter does not
encode to be URL friendly
[ https://issues.apache.org/jira/browse/TAP5-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164602#comment-13164602 ]
Ulrich Stärk commented on TAP5-1768:
------------------------------------
The problem is that StringValueEncoder passes server-side strings to client-side strings without doing any conversion. This works fine as long as there are no characters that are reserved as per RFC 3986. For these, percent-encoding is required.
Should we fix this in StringValueEncoder or should we explicitly do this for this case only? I'm a bit afraid that doing it in StringValueEncoder will give us problems elsewhere.
Uli
> @ActivationRequestParameter does not encode to be URL friendly
> --------------------------------------------------------------
>
> Key: TAP5-1768
> URL: https://issues.apache.org/jira/browse/TAP5-1768
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.3, 5.2
> Reporter: Ryan How
>
> The @ActivationRequestParameter can contain symbols that interfere with the URL (eg. &) and these are passed straight to the browser and are not encoded. Therefore the query string in any links that are generated are all messed up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira