Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-698

PageTester's setupRequestFromURI incorrectly uses substring twice on same string

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.3
    • Component/s: tapestry-test
    • Labels:
      None

      Description

      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));

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                cwilkes Chris Wilkes
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: