Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-1011

NavigationalState Base64 encoding needs to escape '+' characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Container
    • None
    • 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 '=').

      Attachments

        Activity

          People

            ate Ate Douma
            ate Ate Douma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: