Bug 59891

Summary: Manager deployment selection munges WAR file name
Product: Tomcat 8 Reporter: s05marti
Component: ManagerAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 8.5.4   
Target Milestone: ----   
Hardware: PC   
OS: All   

Description s05marti 2016-07-21 18:53:54 UTC
I downloaded Tomcat 8.5.4 from the Apache Tomcat webite as a zip file for Windows 64 bit. I configured the tomcat-users.xml file  to allow access to the manager. Tomcat starts up and I can get to the manager page. I selected a WAR file to deploy. The full path to the WAR file displays with backslashes in the path, as is typical of a Windows installation. I click on "Deploy". 

Tomcat strips out the backslashes and tries to load the WAR file with no directory separators in the path. In the applications list it displays this munged name as if it were the application. It fails to load the WAR file because it can not find the file. Tomcat 6 and 7 do not have this problem. I have not tried this on a Unix system.
Note that I can manually copy the WAR file to the webapps directory and then it will auto-deploy correctly. The problem is that the manager module munges the WAR file path and thus fails to find the file.
Comment 1 Mark Thomas 2016-07-21 19:54:58 UTC
The root cause of this behaviour is the non-specifciation compliance of IE. See the duplicate for details. You should raise a bug with Microsoft.

*** This bug has been marked as a duplicate of bug 59115 ***