[jboss-cvs] JBossAS SVN: r60084 - branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Jan 28 00:26:53 EST 2007
Author: bstansberry at jboss.com
Date: 2007-01-28 00:26:53 -0500 (Sun, 28 Jan 2007)
New Revision: 60084
Modified:
branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheService.java
Log:
[JBAS-3941] Handle '/' in a context path
Modified: branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheService.java
===================================================================
--- branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheService.java 2007-01-28 05:25:11 UTC (rev 60083)
+++ branches/Branch_4_2/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheService.java 2007-01-28 05:26:53 UTC (rev 60084)
@@ -143,6 +143,10 @@
} else {
webAppPath_ = path;
}
+ // JBAS-3941 -- context path can be multi-level, but we don't
+ // want that turning into a multilevel Fqn, so escape it
+ // Use '?' which is illegal in a context path
+ webAppPath_ = webAppPath_.replace('/', '?');
log_.debug("Old and new web app path are: " +path + ", " +webAppPath_);
String host = webapp.getParent().getName();
More information about the jboss-cvs-commits
mailing list