You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Closed) (JIRA)" <ji...@apache.org> on 2011/10/19 02:03:11 UTC

[jira] [Closed] (TAP5-698) PageTester's setupRequestFromURI incorrectly uses substring twice on same string

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

Howard M. Lewis Ship closed TAP5-698.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
         Assignee: Howard M. Lewis Ship
    
> PageTester's setupRequestFromURI incorrectly uses substring twice on same string
> --------------------------------------------------------------------------------
>
>                 Key: TAP5-698
>                 URL: https://issues.apache.org/jira/browse/TAP5-698
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-test
>    Affects Versions: 5.1.0.5
>            Reporter: Chris Wilkes
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.3
>
>
> Incoming linkPath: /filelist.delete/c$002ftest2-2510777506787452085.txt?t:ac=c
> int comma is set to 52
> path: /filelist.delete/c$002ftest2-2510777506787452085.txt
> then trying to do a path.substring(comma+1)
> Fix: use linkPath instead of path at line 304:
> if (comma > 0)
>             decodeParametersIntoRequest(path.substring(comma + 1));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira