tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r320637 - in /tomcat/container/tc5.5.x/webapps: docs/changelog.xml manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
Date Thu, 13 Oct 2005 03:49:27 GMT
Author: yoavs
Date: Wed Oct 12 20:49:25 2005
New Revision: 320637

URL: http://svn.apache.org/viewcvs?rev=320637&view=rev
Log:
Bugzilla 36336: http://issues.apache.org/bugzilla/show_bug.cgi?id=36336

Modified:
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml
    tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=320637&r1=320636&r2=320637&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Wed Oct 12 20:49:25 2005
@@ -61,6 +61,10 @@
       <fix>
         <bug>36019</bug>: Made clear the Host-Manager HowTo is coming soon, not
ready yet. (yoavs)
       </fix>
+      <fix>
+        <bug>36336</bug>: Check WAR extension in both upper and lower case, as
suggested by
+        A. Grasoff. (yoavs)
+      </fix>
     </changelog>
   </subsection>
 </section>

Modified: tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java?rev=320637&r1=320636&r2=320637&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
(original)
+++ tomcat/container/tc5.5.x/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
Wed Oct 12 20:49:25 2005
@@ -191,7 +191,7 @@
                 }
                 // Identify the appBase of the owning Host of this Context
                 // (if any)
-                basename = war.substring(0, war.indexOf(".war"));
+                basename = war.substring(0, war.toLowerCase().indexOf(".war"));
                 File file = new File(getAppBase(), war);
                 if (file.exists()) {
                     message = sm.getString



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


Mime
View raw message