tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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:
https://wiki.apache.org/tomcat/Cookies?action=diff&rev1=18&rev2=19

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


Mime
View raw message