[ http://issues.apache.org/jira/browse/TAPESTRY-977?page=comments#action_12428485 ] Ryan Holmes commented on TAPESTRY-977: --------------------------------------
This doesn't appear to be fixed in the 4.0 branch. XTile is probably more important for 4.0 than for 4.1, so can someone apply the fix there as well? > XTile component incorrectly quotes request URLs > ----------------------------------------------- > > Key: TAPESTRY-977 > URL: http://issues.apache.org/jira/browse/TAPESTRY-977 > Project: Tapestry > Issue Type: Bug > Components: Contrib > Affects Versions: 4.0.1 > Reporter: Paul Field > Fix For: 4.1.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]
