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

PageTester's setupRequestFromURI incorrectly uses substring twice on same string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0.5
    • 5.3
    • tapestry-test
    • 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

              hlship Howard Lewis Ship
              cwilkes Chris Wilkes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: