You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Martin Grotzke (JIRA)" <ji...@apache.org> on 2008/10/26 20:20:44 UTC

[jira] Commented: (TAP5-302) URL encoded strings that contain symbols such as %2f (encoded "/") are decoded incorrectly in some environments

    [ https://issues.apache.org/jira/browse/TAP5-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642813#action_12642813 ] 

Martin Grotzke commented on TAP5-302:
-------------------------------------

AFAICS from svn - "%" is now custom-encoded as "$00", so that "/" becomes "$002f", or " " becomes "$0020". If that's not true please correct me :)

> URL encoded strings that contain symbols such as  %2f (encoded "/") are decoded incorrectly in some environments
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-302
>                 URL: https://issues.apache.org/jira/browse/TAP5-302
>             Project: Tapestry 5
>          Issue Type: Bug
>            Reporter: Martijn Brinkers
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.16
>
>
> 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