Author: remy.maucherat(a)jboss.com
Date: 2009-11-11 13:21:45 -0500 (Wed, 11 Nov 2009)
New Revision: 1264
Modified:
trunk/java/org/apache/tomcat/util/http/ServerCookie.java
trunk/res/jboss/org/apache/catalina/startup/catalina.properties
Log:
- Cookie fix (which is not going to do anything since the path is normally escaped).
- Disable slash as a separator for now.
Modified: trunk/java/org/apache/tomcat/util/http/ServerCookie.java
===================================================================
--- trunk/java/org/apache/tomcat/util/http/ServerCookie.java 2009-11-11 03:29:33 UTC (rev
1263)
+++ trunk/java/org/apache/tomcat/util/http/ServerCookie.java 2009-11-11 18:21:45 UTC (rev
1264)
@@ -373,7 +373,7 @@
maybeQuote2(version, buf, path);
} else {
if (FWD_SLASH_IS_SEPARATOR) {
- maybeQuote2(version, buf, path, ServerCookie.tspecials,
+ maybeQuote2(version, buf, path, ServerCookie.tspecials2,
false);
} else {
maybeQuote2(version, buf, path,
Modified: trunk/res/jboss/org/apache/catalina/startup/catalina.properties
===================================================================
--- trunk/res/jboss/org/apache/catalina/startup/catalina.properties 2009-11-11 03:29:33
UTC (rev 1263)
+++ trunk/res/jboss/org/apache/catalina/startup/catalina.properties 2009-11-11 18:21:45
UTC (rev 1264)
@@ -11,6 +11,7 @@
org.apache.catalina.core.StandardHost.deployOnStartup=false
org.apache.catalina.core.StandardHost.deployXML=false
org.apache.catalina.core.StandardHost.startChildren=false
+org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false
# String cache configuration.
org.apache.tomcat.util.buf.StringCache.byte.enabled=true
Show replies by date