Jetspeed 2
  1. Jetspeed 2
  2. JS2-1011

NavigationalState Base64 encoding needs to escape '+' characters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Container
    • Labels:
      None
    • Environment:
      Websphere 6

      Description

      Turns out I forgot to escape '+' characters in the Base64 encoding used for the Jetspeed NavigationalState url parameter...
      Until now, there never has been any report about this causing a problem.
      But, while testing the JSR-286 TCK against Websphere, I finally encountered one.
      Websphere turns out to replace embedded '+' characters with a space character in an url, thereby completely breaking the navigational state!

      Solving this is really a trivial change: I'll add an escape for '+' characters by using '.' (just picking an easy and safe replacement character, '_' and '-' are already used for '/' and '=').

        Activity

        Hide
        Ate Douma added a comment -

        Fixed

        Show
        Ate Douma added a comment - Fixed

          People

          • Assignee:
            Ate Douma
            Reporter:
            Ate Douma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development