You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/10/06 08:28:37 UTC
svn commit: r1763516 - in /tomcat/trunk: java/javax/servlet/http/Cookie.java
test/javax/servlet/http/TestCookieNetscapeValidator.java
Author: markt
Date: Thu Oct 6 08:28:37 2016
New Revision: 1763516
URL: http://svn.apache.org/viewvc?rev=1763516&view=rev
Log:
Remove unused code
Removed:
tomcat/trunk/test/javax/servlet/http/TestCookieNetscapeValidator.java
Modified:
tomcat/trunk/java/javax/servlet/http/Cookie.java
Modified: tomcat/trunk/java/javax/servlet/http/Cookie.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/Cookie.java?rev=1763516&r1=1763515&r2=1763516&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/Cookie.java (original)
+++ tomcat/trunk/java/javax/servlet/http/Cookie.java Thu Oct 6 08:28:37 2016
@@ -419,17 +419,6 @@ class CookieNameValidator {
}
}
-class NetscapeValidator extends CookieNameValidator {
- // the Netscape specification describes NAME=VALUE as
- // "a sequence of characters excluding semi-colon, comma and white space"
- // we also exclude the '=' character that separates NAME from VALUE
- private static final String NETSCAPE_SEPARATORS = ",; " + "=";
-
- NetscapeValidator() {
- super(NETSCAPE_SEPARATORS);
- }
-}
-
class RFC6265Validator extends CookieNameValidator {
private static final String RFC2616_SEPARATORS = "()<>@,;:\\\"/[]?={} \t";
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org