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

           Summary: Cookie parsing bug when an empty value has an equal
                    sign on the end
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: hyand...@amazon.com


Created an attachment (id=25190)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25190)
Code patch that stops the loop parsing the final character if it's an equal
sign

Cookie values such as the following don't get their last value parsed as an
empty value.


i.e. this does create a 'bob' cookie key:

Cookie: fred=1; jim=2; bob

and this doesn't create a 'bob' cookie key:

Cookie: fred=1; jim=2; bob=

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to