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

            Bug ID: 70038
           Summary: Cookie.clone() is shallow but reference implementation
                    is deep
           Product: Tomcat 11
           Version: 11.0.22
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: -------

Cookie.clone() is shallow, which has the consequence that calling setPath()
modifies both the clone and original cookies. The reference implementation
clones the attributes as well, so both cookies have independent path
properties.

I believe this defect affects Tomcat 10.1 as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to