ASF Bugzilla – Attachment 33955 Details for
Bug 59655
The CookieNameValidator has issue that related to the consistency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against trunk
cookie-docs.patch (text/plain), 1.73 KB, created by
Kyohei Nakamura
on 2016-06-16 11:10:25 UTC
(
hide
)
Description:
patch against trunk
Filename:
MIME Type:
Creator:
Kyohei Nakamura
Created:
2016-06-16 11:10:25 UTC
Size:
1.73 KB
patch
obsolete
>Index: java/javax/servlet/http/Cookie.java >=================================================================== >--- java/javax/servlet/http/Cookie.java (revision 1748657) >+++ java/javax/servlet/http/Cookie.java (working copy) >@@ -48,9 +48,8 @@ > * cache pages that use cookies created with this class. This class does not > * support the cache control defined with HTTP 1.1. > * <p> >- * This class supports both the Version 0 (by Netscape) and Version 1 (by RFC >- * 2109) cookie specifications. By default, cookies are created using RFC6265 >- * to ensure the best interoperability. >+ * This class supports both the RFC 2109 and the RFC 6265 specifications. >+ * By default, cookies are created using RFC 6265. > */ > public class Cookie implements Cloneable, Serializable { > >Index: webapps/docs/config/systemprops.xml >=================================================================== >--- webapps/docs/config/systemprops.xml (revision 1748657) >+++ webapps/docs/config/systemprops.xml (working copy) >@@ -340,9 +340,9 @@ > > <property name="org.apache.tomcat.util.http. ServerCookie.STRICT_NAMING"> > <p> If this is true then the requirements of the Servlet specification >- that Cookie names must adhere to RFC2109 (no use of separators) will be >- enforced. If this is false the the naming rules specified in RFC6265 will >- be used.</p> >+ that Cookie names must adhere to RFC2109 will be enforced. If this is >+ false the the naming rules specified in RFC6265 (allow the leading "$") >+ will be used.</p> > <p>If <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> is set to > <code>true</code>, the default of this setting will be <code>true</code>, > else the default value will be <code>false</code>.</p>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59655
: 33955