You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/07/14 06:02:19 UTC

[Bug 61299] New: cookie bug in tomcat-embed-core jar

https://bz.apache.org/bugzilla/show_bug.cgi?id=61299

            Bug ID: 61299
           Summary: cookie bug in tomcat-embed-core jar
           Product: Tomcat 8
           Version: 8.5.15
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: 339128088@qq.com
  Target Milestone: ----

We have recently upgrade Tomcat-Embed from 8.0.* to 8.5.15, when I using
Tomcat-Embed 8.5.15,I find that when a browser use rfc2109 cookie. If I set
cookie: _ac=hello , when it request again, I invoke  request.getCookies() and
found that cookie value is: "hello", the point is that double quotation marks
are also in the value, (Tomcat-Embed 8.0.* does not have this problem), the
cookie header is like :

Cookie: $Version="1"; _ac="hello";$Path="/";$Domain="example.com"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61299] cookie bug in tomcat-embed-core jar

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61299

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Switch to the LegacyCookieProcessor of you don't want RFC 6265 cookie handling.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org