portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-1011) NavigationalState Base64 encoding needs to escape '+' characters
Date Wed, 13 May 2009 16:19:45 GMT
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message