View | Details | Raw Unified | Return to bug 59655
Collapse All | Expand All

(-)java/javax/servlet/http/Cookie.java (-3 / +2 lines)
Lines 48-56 Link Here
48
 * cache pages that use cookies created with this class. This class does not
48
 * cache pages that use cookies created with this class. This class does not
49
 * support the cache control defined with HTTP 1.1.
49
 * support the cache control defined with HTTP 1.1.
50
 * <p>
50
 * <p>
51
 * This class supports both the Version 0 (by Netscape) and Version 1 (by RFC
51
 * This class supports both the RFC 2109 and the RFC 6265 specifications.
52
 * 2109) cookie specifications. By default, cookies are created using RFC6265
52
 * By default, cookies are created using RFC 6265.
53
 * to ensure the best interoperability.
54
 */
53
 */
55
public class Cookie implements Cloneable, Serializable {
54
public class Cookie implements Cloneable, Serializable {
56
55
(-)webapps/docs/config/systemprops.xml (-3 / +3 lines)
Lines 340-348 Link Here
340
340
341
    <property name="org.apache.tomcat.util.http. ServerCookie.STRICT_NAMING">
341
    <property name="org.apache.tomcat.util.http. ServerCookie.STRICT_NAMING">
342
      <p> If this is true then the requirements of the Servlet specification
342
      <p> If this is true then the requirements of the Servlet specification
343
      that Cookie names must adhere to RFC2109 (no use of separators) will be
343
      that Cookie names must adhere to RFC2109 will be enforced. If this is
344
      enforced. If this is false the the naming rules specified in RFC6265 will
344
      false the the naming rules specified in RFC6265 (allow the leading "$")
345
      be used.</p>
345
      will be used.</p>
346
      <p>If <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> is set to
346
      <p>If <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> is set to
347
      <code>true</code>, the default of this setting will be <code>true</code>,
347
      <code>true</code>, the default of this setting will be <code>true</code>,
348
      else the default value will be <code>false</code>.</p>
348
      else the default value will be <code>false</code>.</p>

Return to bug 59655