tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-302) URL encoded strings that contain symbols such as %2f (encoded "/") are decoded incorrectly in some environments
Date Mon, 27 Oct 2008 05:04:44 GMT

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

Howard M. Lewis Ship commented on TAP5-302:
-------------------------------------------

Stand corrected:

The $ is an escape code that can be followed by:

N for null
B for blank
$ for a literal '$'
four hex digits - any other unicode character

> 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


Mime
View raw message