Hi,

CookieValuePersister tells me that you use Wicket 1.4 or earlier.
1.4.x is not supported anymore. You are recommended to upgrade.

Additionally the stacktrace says that Tomcat doesn't allow the problematic
character.
Better ask in Tomcat's users@ mailing list about this restriction. I guess
some specification mandates it.


On Wed, Jan 2, 2013 at 7:31 PM, oliver.stef <ova...@gmail.com> wrote:

> Hi,
>
> I'm trying save some values with CookieValuePersister and it all working OK
> when the value is in English,
> but when i'm trying to use other input (like Chinese,  Japanese... etc. ) i
> get some error.
>
> The Error:
> "... java.lang.IllegalArgumentException: Control character in cookie value
> or attribute.     at
>
> org.apache.tomcat.util.http.CookieSupport.isHttpSeparator(CookieSupport.java:177)
> at
>
> org.apache.tomcat.util.http.CookieSupport.isHttpToken(CookieSupport.java:199)
> at
>
> org.apache.tomcat.util.http.ServerCookie.appendCookieValue(ServerCookie.java:187)
> at
>
> org.apache.catalina.connector.Response.addCookieInternal(Response.java:1045)
> ..."
>
> any ideas?
> 10x!
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/CookieValuePersister-not-support-encoding-other-than-ISO8859-1-tp4655123.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to