Author: markt Date: Tue Sep 2 15:25:34 2014 New Revision: 1622034 URL: http://svn.apache.org/r1622034 Log: More docs
Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java?rev=1622034&r1=1622033&r2=1622034&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java Tue Sep 2 15:25:34 2014 @@ -27,16 +27,21 @@ import org.apache.tomcat.util.res.String /** - * Cookie header parser based on RFC6265 and RFC2109. - * <br/> - * The parsing of cookies using RFC6265 is more relaxed that the specification - * in the following ways: + * <p>Cookie header parser based on RFC6265 and RFC2109.</p> + * <p>The parsing of cookies using RFC6265 is more relaxed that the + * specification in the following ways:</p> * <ul> * <li>Values 0x80 to 0xFF are permitted in cookie-octet to support the use of * UTF-8 in cookie values as used by HTML 5.</li> * <li>For cookies without a value, the '=' is not required after the name as * some browsers do not sent it.</li> * </ul> + * <p>The parsing of cookies using RFC2109 is more relaxed that the + * specification in the following ways:</p> + * <ul> + * <li>Values for the path attribute that contain a / character do not have to + * be quoted even though / is not permitted in a token.</li> + * </ul> * * <p>Implementation note:<br/> * This class has been carefully tuned to ensure that it has equal or better --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org