shinsuke 2004/10/17 15:54:01 Modified: portal/src/java/org/apache/jetspeed/container/state/impl JetspeedNavigationalStateCodec.java Log: specified characterEncoding when decoding the array of bytes Revision Changes Path 1.2 +2 -2 jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java Index: JetspeedNavigationalStateCodec.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/container/state/impl/JetspeedNavigationalStateCodec.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JetspeedNavigationalStateCodec.java 15 Oct 2004 21:44:31 -0000 1.1 +++ JetspeedNavigationalStateCodec.java 17 Oct 2004 22:54:01 -0000 1.2 @@ -519,7 +519,7 @@ { value = StringUtils.replace(value,"-","/"); value = StringUtils.replace(value,"_","="); - return new String(Base64.decodeBase64(value.getBytes(characterEncoding))); + return new String(Base64.decodeBase64(value.getBytes(characterEncoding)), characterEncoding); } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]