Author: remm Date: Tue Feb 23 13:47:10 2016 New Revision: 1731857 URL: http://svn.apache.org/viewvc?rev=1731857&view=rev Log: Make CookieProcessor generic using its interface type (it correctly defaults to the new processor now).
Modified: tomcat/trunk/java/org/apache/catalina/storeconfig/StoreRegistry.java tomcat/trunk/java/org/apache/catalina/storeconfig/server-registry.xml Modified: tomcat/trunk/java/org/apache/catalina/storeconfig/StoreRegistry.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/storeconfig/StoreRegistry.java?rev=1731857&r1=1731856&r2=1731857&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/storeconfig/StoreRegistry.java (original) +++ tomcat/trunk/java/org/apache/catalina/storeconfig/StoreRegistry.java Tue Feb 23 13:47:10 2016 @@ -43,6 +43,7 @@ import org.apache.catalina.tribes.transp import org.apache.coyote.UpgradeProtocol; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; +import org.apache.tomcat.util.http.CookieProcessor; /** * Central StoreRegistry for all server.xml elements @@ -66,7 +67,8 @@ public class StoreRegistry { Valve.class, ClusterListener.class, MessageListener.class, DataSender.class, ChannelInterceptor.class, Member.class, WebResourceRoot.class, WebResourceSet.class, - CredentialHandler.class, UpgradeProtocol.class }; + CredentialHandler.class, UpgradeProtocol.class, + CookieProcessor.class }; /** * @return Returns the name. Modified: tomcat/trunk/java/org/apache/catalina/storeconfig/server-registry.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/storeconfig/server-registry.xml?rev=1731857&r1=1731856&r2=1731857&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/storeconfig/server-registry.xml (original) +++ tomcat/trunk/java/org/apache/catalina/storeconfig/server-registry.xml Tue Feb 23 13:47:10 2016 @@ -456,16 +456,9 @@ </Description> <Description tag="CookieProcessor" - standard="true" + standard="false" default="false" - tagClass="org.apache.tomcat.util.http.LegacyCookieProcessor" - storeFactoryClass="org.apache.catalina.storeconfig.StoreFactoryBase"> - </Description> - <Description - tag="CookieProcessor" - standard="true" - default="false" - tagClass="org.apache.tomcat.util.http.Rfc6265CookieProcessor" + tagClass="org.apache.tomcat.util.http.CookieProcessor" storeFactoryClass="org.apache.catalina.storeconfig.StoreFactoryBase"> </Description> <Description --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org