[jboss-jira] [JBoss JIRA] (AS7-1625) Cookies version 0 value rejected by org.apache.tomcat.util.http.Cookies

nimo stephan (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 1 04:31:40 EST 2011


    [ https://issues.jboss.org/browse/AS7-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647019#comment-12647019 ] 

nimo stephan commented on AS7-1625:
-----------------------------------

I see, the bug is rejected, but I do not know why.

I use Jboss 7.0.2 and for every server-response I get the annoying message in jboss log:

38,207 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value
10:23:38,607 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value
10:23:38,817 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value
10:23:38,991 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value
10:23:39,191 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value
10:23:39,393 INFO  [org.apache.tomcat.util.http.Cookies] (http--127.0.0.1-8080-3) Cookies: Invalid cookie. Value not a token or quoted value..

and that for EVERY server-response. So how should I solve that?
                
> Cookies version 0 value rejected by org.apache.tomcat.util.http.Cookies
> -----------------------------------------------------------------------
>
>                 Key: AS7-1625
>                 URL: https://issues.jboss.org/browse/AS7-1625
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: 7.0.1.Final
>         Environment: standalone
>            Reporter: Ondrej Zizka
>            Assignee: Remy Maucherat
>
> I have a cookie in browser which was set for redhat.com, so my AS 7 on ozizka.brq.redhat.com is receiving it to.
> Now that "version 0" cookie contains characters illegal acc. to RFC-2109 and RFC-2068:
> {code}
> Cookie: s_vi=[CS]v1|261............[CE];  ...
> {code}
> AS 7 logs:
> {code}
> 22:18:13,365 INFO  [org.apache.tomcat.util.http.Cookies] (http--0.0.0.0-8080-2) Cookies: Invalid cookie. Value not a token or quoted value
> {code}
> I haven't checked whether only the single value is discarded or all cookies.
> Possibly related: JBPAPP-5813
> Some related links:
> Discussion http://old.nabble.com/DO-NOT-REPLY--Bug-49525--New%3A-IE8%3A-Unabled-to-store-data-in-HttpSession-%28root-context%29-td29030364.html
> and bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49525
> about Tomcat 7's bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list