tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup HostConfig.java
Date Tue, 23 Sep 2003 06:35:52 GMT
remm        2003/09/22 23:35:52

  Modified:    catalina/src/share/org/apache/catalina/startup
                        HostConfig.java
  Log:
  - Fix a problem rebuilding the context path given the context file name.
  
  Revision  Changes    Path
  1.25      +5 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java
  
  Index: HostConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/HostConfig.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- HostConfig.java	2 Sep 2003 21:22:00 -0000	1.24
  +++ HostConfig.java	23 Sep 2003 06:35:52 -0000	1.25
  @@ -498,7 +498,7 @@
   
                   // Calculate the context path and make sure it is unique
                   String file = files[i].substring(0, files[i].length() - 4);
  -                String contextPath = "/" + file;
  +                String contextPath = "/" + file.replace('_', '/');
                   if (file.equals("ROOT")) {
                       contextPath = "";
                   }
  
  
  

Mime
View raw message