tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-698) PageTester's setupRequestFromURI incorrectly uses substring twice on same string
Date Wed, 19 Oct 2011 01:13:11 GMT

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

Hudson commented on TAP5-698:
-----------------------------

Integrated in tapestry-trunk-freestyle #585 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/585/])
    TAP5-698: PageTester's setupRequestFromURI incorrectly uses substring twice on same string

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185926
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/PageTester.java

                
> 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

        

Mime
View raw message