We just upgraded from JBoss 4.0.0/TC to JBoss 4.0.2/TC (JDK 1.5).

We noticed a strange issue in the new version where whenever we set a cookie 
with a value that had a space in it the value is store with double quotes 
around the value.  This was not the case with the previous version.

For example we set a cookie like this:

c = new Cookie("c_name", "Test value");

If we look at the cookie we see:
c_name
"Test value"

A problem arrises when we go to read that value with cookie.getValue().  The 
value that is returned actually has the quotes in it.

So, cookie.getValue on the cookie from the above example would return \"Test 
value\"

Is this a known issue?  Something we are not doing properly?  Workarounds?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878070#3878070

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878070


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to