NavigationalState Base64 encoding needs to escape '+' characters
----------------------------------------------------------------

                 Key: JS2-1011
                 URL: https://issues.apache.org/jira/browse/JS2-1011
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Container
    Affects Versions: 2.2.0
         Environment: Websphere 6
            Reporter: Ate Douma
            Assignee: Ate Douma
             Fix For: 2.2.0


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 '='). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to