[ http://issues.apache.org/jira/browse/TAPESTRY-977?page=all ]

Jesse Kuhnert updated TAPESTRY-977:
-----------------------------------

    Fix Version: 4.1
                     (was: 4.0.3)

> XTile component incorrectly quotes request URLs
> -----------------------------------------------
>
>          Key: TAPESTRY-977
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-977
>      Project: Tapestry
>         Type: Bug

>   Components: Contrib
>     Versions: 4.0.1
>     Reporter: Paul Field
>      Fix For: 4.1

>
> XTile.script file contains this function:
>       function quoteUrl(text)
>       {
>               return escape(text).replace(/\+/g, 
> '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27');
>       }
> Which enocdes a '+' as %2C which decodes as a comma.
> The '%2C' should be '%2B'
> Perhaps the code should actually use the JavaScript encodeURI() or 
> encodeURIComponent() functions. See:
> http://xkr.us/articles/javascript/encode-compare/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to