tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Closed: (TAPESTRY-2187) Context Parameter Encoding confuses Jetty Server, use non UrlEncoding.
Date Wed, 27 Aug 2008 02:07:44 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Howard M. Lewis Ship closed TAPESTRY-2187.

    Resolution: Incomplete
      Assignee: Howard M. Lewis Ship

I'm still of the opinion that Tapestry and Jetty are right and Tomcat is wrong, or that there's
some other issue involved.  Please reopen if you have a definitive answer.

> Context Parameter Encoding confuses Jetty Server, use non UrlEncoding.
> ----------------------------------------------------------------------
>                 Key: TAPESTRY-2187
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2187
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Fernando
>            Assignee: Howard M. Lewis Ship
> TapestryInternalUtils.escapePercentAndSlash escapes the Percent and Slash characters
using URL encoding.  This confuses Jetty, and could confuse browsers and other servers because
of unknown times of encoding/decoding done by browsers and servers...
> I propose to change the constants in TapestryInternalUtils:
>     private static final String ENCODED_PERCENT = "%25";
>     private static final String ENCODED_SLASH = "%2F";
> to use a different escape character, maybe one of the unreserved characters: "-", "_",
".", "~"; then make sure to encode that character as well..
> so ENCODED_PERCENT would be ~25, ENCODED_SLASH would be ~2F
> and we would add ENCODED_TILDE to be ~7E
> http://en.wikipedia.org/wiki/Percent-encoding

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

View raw message