Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2522

RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.13
    • 5.0.14
    • None
    • None

    Description

      The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
      /context/start?t:state:client=Hasc//asc==
      to
      /context/start?t:state:client=Hasc/asc==
      which leads to deserialization errors.

      Attachments

        1. optimize-bug-fix.patch
          2 kB
          Mario Siegenthaler
        2. optimize-bug-testcase.patch
          2 kB
          Mario Siegenthaler

        Activity

          People

            hlship Howard Lewis Ship
            msiegenthaler Mario Siegenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified