tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Update of "Cookies" by jboynes
Date Sat, 04 Jan 2014 17:50:05 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "Cookies" page has been changed by jboynes:

  The domain value is converted to lower case (per Locale.ENGLISH) when set as "IE allegedly
needs this."
+ Neither the Cookie class or any of its methods are declared final so any of this behaviour
can be overridden if an application sub-classes Cookie; for example, the checks performed
on the name can be bypassed by overriding the getName() method.
  ==== HttpServletResponse ====
  This is typically implemented by o.a.c.connector.Response whose addCookie method delegates
generation of the Set-Cookie header to o.a.t.util.http.ServerCookie#appendCookieValue. This
first appends the name (relying on checks performed by Cookie), "=" and then the value using
RFC2109 quoting rules:
   * if the value is null or empty, append empty quoted-string ""

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message