Tapestry
  1. Tapestry
  2. TAPESTRY-2054

page activation context with spaces are incorrectly decoded when using forms

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Robert Zeigler created issue -
        Robert Zeigler made changes -
        Field Original Value New Value
        Attachment contexttest.tgz [ 12373336 ]
        Yoshikazu Kuramochi made changes -
        Attachment page_context_in_form_fix.patch [ 12373476 ]
        Attachment page_context_in_form_test.patch [ 12373477 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.0.10 [ 12312936 ]
        Mark Thomas made changes -
        Workflow jira [ 12421335 ] Default workflow, editable Closed status [ 12568118 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568118 ] jira [ 12591209 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development