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/webapps/manager/WEB-INF/classes/org/apache/catalina/manager ManagerServlet.java
Date Fri, 23 Jan 2004 22:39:01 GMT
remm        2004/01/23 14:39:01

  Modified:    webapps/manager/WEB-INF/classes/org/apache/catalina/manager
                        ManagerServlet.java
  Log:
  - Bug 26010: '_' was an inappropriate character to replace the path separator,
    since it's a common character in HTTP. Experiment with using '#' instead,
    which is client side only.
  
  Revision  Changes    Path
  1.15      +5 -5      jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java
  
  Index: ManagerServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ManagerServlet.java	8 Jan 2004 11:09:03 -0000	1.14
  +++ ManagerServlet.java	23 Jan 2004 22:39:01 -0000	1.15
  @@ -1486,7 +1486,7 @@
           if (path.equals("")) {
               basename = "ROOT";
           } else {
  -            basename = path.substring(1).replace('/', '_');
  +            basename = path.substring(1).replace('/', '#');
           }
           return (basename);
       }
  
  
  

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


Mime
View raw message