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 Fri, 10 Jan 2014 04:10:33 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=26&rev2=27

  ##language:en
  
  = Cookies =
+ 
+ == Round Trip Behaviour ==
+ The following tables document how a value is sent in a Set-Cookie header, what gets stored
by a typical browser, the Cookie header that is generated by the browser and then the final
value returned to a Servlet application.
+ 
+ The browser tested here is Chrome-31
+ 
+ === Default Configuration (no properties set) ===
+ ||||||<:>'''Generation'''||<|2>'''Browser Value'''||||<:>'''Parsing'''||
+ ||'''Version'''||'''Value'''||'''Set-Cookie Header'''||'''Cookie Header'''||'''Resulting
Value'''||
+ ||0||bar||test=bar||bar||test=bar||bar||
+ ||0||"bar"||test="bar"||"bar"||test="bar"||<#FF8080>bar||
+ ||0||""||test=""||""||test=""||<#FF8080>''emptyString''||
+ ||0||a"b||test="a\"b"; Version=1||<#FF8080>"a\"b"||test="a\"b"||a"b||
+ ||0||a\b||test="a\b"; Version=1||<#FF8080>"a\b"||test="a\b"||<#FF8080>ab||
+ ||0||a?b||test="a?b"; Version=1||<#FF8080>"a?b"||test="a?b"||a?b||
+ ||1||bar||test=bar; Version=1||bar||test=bar||bar||
+ 
+ === ALLOW_HTTP_SEPARATORS_IN_V0=true ===
+ ||||||<:>'''Generation'''||<|2>'''Browser Value'''||||<:>'''Parsing'''||
+ ||'''Version'''||'''Value'''||'''Set-Cookie Header'''||'''Cookie Header'''||'''Resulting
Value'''||
+ ||0||bar||test=bar||bar||test=bar||bar||
+ ||0||"bar"||test="bar"||"bar"||test="bar"||<#FF8080>bar||
+ ||0||""||test=""||""||test=""||<#FF8080>''emptyString''||
+ ||0||a"b||test=a"b||a"b||test=a"b||a"b||
+ ||0||a\b||test=a\b||a\b||test=a\b||<#FF8080>ab||
+ ||0||a?b||test=a?b||a?b||test=a?b||a?b||
+ ||1||bar||test=bar; Version=1||bar||test=bar||bar||
  
  == Proposed Changes ==
  The intent of the following changes is improve interoperability of cookies with other servers
and with client-side !JavaScript. The primary changes are a switch to the RFC6265 format for
transmission of V0 cookies to be more in line with browser behaviour, and support for UTF-8
encoded values that are now specified by HTML-5.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message