Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1625

Cookies version 0 value rejected by org.apache.tomcat.util.http.Cookies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.2.Final (EAP)
    • 7.0.1.Final, 7.1.1.Final
    • Web

    Description

      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:

      Cookie: s_vi=[CS]v1|261............[CE];  ...
      

      AS 7 logs:

      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
      

      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.

      Attachments

        Activity

          People

            rmaucher Remy Maucherat
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: