https://issues.apache.org/bugzilla/show_bug.cgi?id=44679

           Summary: Cookies are treated differently between 6.0.16 and
                    6.0.14
           Product: Tomcat 6
           Version: 6.0.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a cookie that has a value of 

[EMAIL PROTECTED]@c2af4f71ba69af352dfd8dba77e4c355

I use the following code to find it.

            Cookie[] cookies = httpRequest.getCookies();
            if (cookies != null)
            {
                for (Cookie cookie : cookies)
                {
                    if (KEY.equals(cookie.getName()))
                    {
                        cookieValue = cookie.getValue();
                        break;
                    }
                }
            }

in 6.0.14, the variable cookieValue has the value of the cookie at the end of
the loop.

in 6.0.16, the variable cookieValue has the value of 42200 at the end of the
loop.

This is preventing an upgrade to 6.0.16


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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