tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1041425 - /tomcat/trunk/java/org/apache/catalina/util/ContextName.java
Date Thu, 02 Dec 2010 16:07:10 GMT
Author: markt
Date: Thu Dec  2 16:07:10 2010
New Revision: 1041425

URL: http://svn.apache.org/viewvc?rev=1041425&view=rev
Log:
Fix error in r1041356

Modified:
    tomcat/trunk/java/org/apache/catalina/util/ContextName.java

Modified: tomcat/trunk/java/org/apache/catalina/util/ContextName.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/ContextName.java?rev=1041425&r1=1041424&r2=1041425&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/ContextName.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/ContextName.java Thu Dec  2 16:07:10 2010
@@ -50,7 +50,7 @@ public final class ContextName {
         }
         
         // Replace any remaining /
-        tmp1.replaceAll("/", FWD_SLASH_REPLACEMENT);
+        tmp1 = tmp1.replaceAll("/", FWD_SLASH_REPLACEMENT);
         
         // Insert the ROOT name if required
         if (tmp1.startsWith(VERSION_MARKER) || "".equals(tmp1)) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message