Project: Tomcat
Bug 55958 Tomcat tries to deploy dir as zip archive even when it is a directory if the name ends with .war
Reported: 2014-01-06 09:28:12 | Status: resolved fixed

Webapp deployment fails if the dirname ends with .war because it is automatically considered as zip archive.

Files changed in fix:
java/org/apache/catalina/core/ContainerBase.java java/org/apache/catalina/ha/deploy/FarmWarDeployer.java java/org/apache/catalina/manager/HTMLManagerServlet.java java/org/apache/catalina/mbeans/MBeanUtils.java java/org/apache/catalina/startup/FailedContext.java java/org/apache/catalina/startup/HostConfig.java java/org/apache/catalina/storeconfig/StandardContextSF.java java/org/apache/catalina/util/ContextName.java test/org/apache/catalina/startup/TestHostConfigAutomaticDeployment.java test/org/apache/catalina/util/TestContextName.java