JBoss 5.1.0 (JSF/Seam) cookies blowing up with accented characters

Posted by user283680 on Stack Overflow See other posts from Stack Overflow or by user283680
Published on 2010-06-01T19:22:52Z Indexed on 2010/06/01 20:13 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

I cannot see this behavior in JBoss 4.2.3. If I try to call addCookie() on HttpServletResponse and my cookie value has accented characters in it (ex. ç) I get this exception: java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value

Does anyone know what change in JBoss 5.1.0 could be causing these problems?

© Stack Overflow or respective owner

Related posts about java

Related posts about servlets