Author: kkolinko Date: Wed Apr 29 08:19:47 2015 New Revision: 1676686 URL: http://svn.apache.org/r1676686 Log: Mention autoconversion of cookies and link to https://bz.apache.org/bugzilla/show_bug.cgi?id=57872
Modified: tomcat/site/trunk/docs/migration-7.html tomcat/site/trunk/xdocs/migration-7.xml Modified: tomcat/site/trunk/docs/migration-7.html URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/migration-7.html?rev=1676686&r1=1676685&r2=1676686&view=diff ============================================================================== --- tomcat/site/trunk/docs/migration-7.html (original) +++ tomcat/site/trunk/docs/migration-7.html Wed Apr 29 08:19:47 2015 @@ -692,6 +692,18 @@ of Apache Tomcat.</p> <code>org.apache.tomcat.util.http.ServerCookie.ALLOW_NAME_ONLY</code>, that can be used to accept name-only cookies.</p> + +<p>If a cookie value or path contain characters that have to be quoted + (per RFC2109 specification), the cookie will be automatically converted + from "version 0" cookie into "version 1" cookie before sending it to + the client and those values will be surrounded by double quotes. What + characters need quoting is controlled by several <a href="/tomcat-7.0-doc/config/systemprops.html">System properties</a> + such as + <code>org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR</code>. + It is known that Internet Explorer has problem processing "version 1" + cookies. (Bug <a href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57872">57872</a>). + </p> + </div> </div> Modified: tomcat/site/trunk/xdocs/migration-7.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/migration-7.xml?rev=1676686&r1=1676685&r2=1676686&view=diff ============================================================================== --- tomcat/site/trunk/xdocs/migration-7.xml (original) +++ tomcat/site/trunk/xdocs/migration-7.xml Wed Apr 29 08:19:47 2015 @@ -280,6 +280,18 @@ of Apache Tomcat.</p> <code>org.apache.tomcat.util.http.ServerCookie.ALLOW_NAME_ONLY</code>, that can be used to accept name-only cookies.</p> + <p>If a cookie value or path contain characters that have to be quoted + (per RFC2109 specification), the cookie will be automatically converted + from "version 0" cookie into "version 1" cookie before sending it to + the client and those values will be surrounded by double quotes. What + characters need quoting is controlled by several <a + href="/tomcat-7.0-doc/config/systemprops.html">System properties</a> + such as + <code>org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR</code>. + It is known that Internet Explorer has problem processing "version 1" + cookies. (Bug <bug>57872</bug>). + </p> + </subsection> <subsection name="Request attributes"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org