remm        2002/09/18 07:00:44

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        ManagerServlet.java
  Log:
  - Fix bug 12521. The check is reversed.
  - Submitted by Gabriele Garuglieri <gabriele.garuglieri at infoblu.it>
  
  Revision  Changes    Path
  1.28      +6 -7      
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/ManagerServlet.java
  
  Index: ManagerServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/ManagerServlet.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- ManagerServlet.java       12 Sep 2002 07:07:27 -0000      1.27
  +++ ManagerServlet.java       18 Sep 2002 14:00:44 -0000      1.28
  @@ -502,9 +502,8 @@
               return;
           }
           String displayPath = path;
  -        if (displayPath.equals("")) {
  -            displayPath = "/";
  -        }
  +        if( path.equals("/") )
  +            path = "";
           String basename = null;
           if (path.equals("")) {
               basename = "_";
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to