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

page activation context with spaces are incorrectly decoded when using forms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.8
    • 5.0.10
    • None
    • None
    • 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

            hlship Howard Lewis Ship
            ongakugainochi Robert Zeigler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: