tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49000] Cookie parsing bug when an empty value has an equal sign on the end
Date Wed, 15 Dec 2010 14:56:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49000

Christopher Schultz <chris@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--- Comment #10 from Christopher Schultz <chris@christopherschultz.net> 2010-12-15 09:56:49
EST ---
(In reply to comment #9)
> Cookie: fred=1; jim=2; bob=; george=3

Tomcat is okay with that last one? Okay, then Tomcat is exhibiting inconsistent
behavior, and this should be considered a bug.

> Looking at logs, I can see that IE6, IE7 and IE8 all sends the bob= type
> entries. Generally this is fine, unless it's the last item in the semi-colon
> delimited list, in which case Tomcat drops the cookie entry.

Would you agree that dropping the bob= cookie altogether no matter where it is
in the list is expected, spec-compliant behavior?

> I agree with everything said - if name and value are mandatory then none of the
> above should be accepted. However, the current Tomcat functionality is such
> that 3/4 of the options are accepted and anyone relying on this is going to
> have a very confusing feature where IE traffic sporadically drops a cookie.

Agreed.

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


Mime
View raw message