You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martijn Brinkers (JIRA)" <de...@tapestry.apache.org> on 2008/10/15 19:40:44 UTC

[jira] Commented: (TAPESTRY-2710) activation context cannot contain a (URL encoded) / symbol (%2f)

    [ https://issues.apache.org/jira/browse/TAPESTRY-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639906#action_12639906 ] 

Martijn Brinkers commented on TAPESTRY-2710:
--------------------------------------------

If I return a String containing / from onPassivate / gets converted to %252F which is URL encoded version of %2f. I think this is not what it should be because other characters are not double encoded. For example returning test@example.com in onPassivate results in test%40example.com.

> activation context cannot contain a (URL encoded) / symbol (%2f)
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-2710
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2710
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.15
>            Reporter: Martijn Brinkers
>
> If an activation context variable contains %2f (URL encoded /) it is interpreted as / and therefore interpreted as a separation of context variables.
> example:
> http://www.example.com/test/one/t%2fwo
> I expect the above URL to contain three context variables nl: test, one and t/wo but Tapestry thinks it contains four context variables nl: test, one, t and wo
> This makes it impossible to use Base64 encoded context variables because they can contain the / symbol (which is gets URL encoded to %2f)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org