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

page activation context with spaces are incorrectly decoded when using forms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.8
    • Fix Version/s: 5.0.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      os x; java 1.5; Firefox 2.0

      Description

      Page activation contexts are stored in form requests as hidden parameter values. However, when the value is retrieved on the server side, spaces aren't unescaped.
      Hence, context values such as "foo bar" will wind up being passed into onActivate as "foo%20bar".
      I will attach a sample project + test case which illustrates this issue.

        Attachments

        1. contexttest.tgz
          8 kB
          Robert Zeigler
        2. page_context_in_form_fix.patch
          1 kB
          Yoshikazu Kuramochi
        3. page_context_in_form_test.patch
          4 kB
          Yoshikazu Kuramochi

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              ongakugainochi Robert Zeigler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: