Author: kkolinko
Date: Sat Sep 27 00:14:21 2014
New Revision: 1627912

URL: http://svn.apache.org/r1627912
Log:
Corrections to cookie processing options description in systemprops.xml

1. Corrected a typo and added links to cookie-processor.html
2. Moved description of ALLOW_NAME_ONLY option, so that it is near other 
"allow" options, and corrected an error:
The old text was saying that "true" = enforcing. Actually "true" is allowing, 
as the option name says.

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/docs/config/systemprops.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1627912&r1=1627911&r2=1627912&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sat Sep 27 00:14:21 2014
@@ -70,6 +70,10 @@
       <fix>
         Correct a couple of broken links in the Javadoc. (markt)
       </fix>
+      <fix>
+        Correct documentation for <code>ServerCookie.ALLOW_NAME_ONLY</code>
+        system property. (kkolinko)
+      </fix>
     </changelog>
   </subsection>
 </section>

Modified: tomcat/trunk/webapps/docs/config/systemprops.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/systemprops.xml?rev=1627912&r1=1627911&r2=1627912&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/systemprops.xml (original)
+++ tomcat/trunk/webapps/docs/config/systemprops.xml Sat Sep 27 00:14:21 2014
@@ -359,17 +359,17 @@
     name="org.apache.tomcat.util.http. ServerCookie.ALLOW_EQUALS_IN_VALUE">
       <p>Deprecated. This will be removed in Tomcat 9. Specify the
       <code>allowEqualsInValue</code> attribute on the
-      <code>org.apache.tomcat.util.http.LegacyCookieProcessor</code> instead.
-      </p>
+      <a 
href="cookie-processor.html">org.apache.tomcat.util.http.LegacyCookieProcessor</a>
+      instead.</p>
       <p>This sets the default value for <code>allowEqualsInValue</code>
       attribute on the
       <code>org.apache.tomcat.util.http.LegacyCookieProcessor</code>.
-      the If this is <code>true</code> Tomcat will allow '<code>=</code>'
+      If this is <code>true</code> Tomcat will allow '<code>=</code>'
       characters when parsing unquoted cookie values. If <code>false</code>,
       cookie values containing '<code>=</code>' will be terminated when the
       '<code>=</code>' is encountered and the remainder of the cookie value 
will
       be dropped.</p>
-      <p>If not specified, the default value specification compliant value of
+      <p>If not specified, the default specification compliant value of
       <code>false</code> will be used.</p>
     </property>
 
@@ -377,14 +377,29 @@
     name="org.apache.tomcat.util.http. 
ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0">
       <p>Deprecated. This will be removed in Tomcat 9. Specify the
       <code>allowHttpSepsInV0</code> attribute on the
-      <code>org.apache.tomcat.util.http.LegacyCookieProcessor</code> instead.
-      </p>
-      <p>If this is <code>true</code> Tomcat will allow HTTP separators in
+      <a 
href="cookie-processor.html">org.apache.tomcat.util.http.LegacyCookieProcessor</a>
+      instead.</p>
+      <p>This sets the default value for <code>allowHttpSepsInV0</code>
+      attribute on the
+      <code>org.apache.tomcat.util.http.LegacyCookieProcessor</code>.
+      If this is <code>true</code> Tomcat will allow HTTP separators in
       cookie names and values.</p>
       <p>If not specified, the default specification compliant value of
       <code>false</code> will be used.</p>
     </property>
 
+    <property name="org.apache.tomcat.util.http. ServerCookie.ALLOW_NAME_ONLY">
+      <p>Deprecated. This will be removed in Tomcat 9. Specify the
+      <code>allowNameOnly</code> attribute on the
+      <a 
href="cookie-processor.html">org.apache.tomcat.util.http.LegacyCookieProcessor</a>
+      instead.</p>
+      <p>If this is <code>false</code> then the requirements of the cookie 
specifications
+      that cookies must have values will be enforced and cookies consisting 
only
+      of a name but no value will be ignored.</p>
+      <p>If not specified, the default specification compliant value of
+      <code>false</code> will be used.</p>
+    </property>
+
     <property
     name="org.apache.tomcat.util.http. ServerCookie.ALWAYS_ADD_EXPIRES">
       <p>If this is <code>true</code> Tomcat will always add an expires
@@ -418,18 +433,6 @@
       else the default value will be <code>false</code>.</p>
     </property>
 
-    <property name="org.apache.tomcat.util.http. ServerCookie.ALLOW_NAME_ONLY">
-      <p>Deprecated. This will be removed in Tomcat 9. Specify the
-      <code>allowNameOnly</code> attribute on the
-      <code>org.apache.tomcat.util.http.LegacyCookieProcessor</code> instead.
-      </p>
-      <p> If this is true then the requirements of the cookie specifications
-      that cookies must have values will be enforced and cookies consisting 
only
-      of a name but no value will be ignored.</p>
-      <p>If not specified, the default specification compliant value of
-      <code>false</code> will be used.</p>
-    </property>
-
   </properties>
 
 </section>



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

Reply via email to