https://bz.apache.org/bugzilla/show_bug.cgi?id=60371
Bug ID: 60371 Summary: Manager application erroneously strips "\" from filenames when deploying WARs in IE Product: Tomcat 8 Version: 8.0.38 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Manager Assignee: dev@tomcat.apache.org Reporter: csuth...@redhat.com Target Milestone: ---- I've only tested this on tomcat8 with IE, but the logic looks the same (at least in the ApplicationPart class) so it may affect other versions. Steps to reproduce are: * Startup tomcat with a user/role setup for manager-gui * Log in and attempt to deploy a WAR from the Manager application 1) Click "Browse..." button and select a war file in field WAR file to deploy => File is selected via "input" element with type "file" C:\temp\test.war 2. Click deploy 3. Status of operation is OK 4. Displayed context of the application is shown: /C:temptest 5. Application fails to start Additional information: I've traced the problem down to org.apache.catalina.manager.HTMLManagerServlet:242; warPart.getSubmittedFileName() strips the '\' characters from the filename and therefore makes it incorrect before the context creation occurs. The logic for that method is encapsulated in the org.apache.catalina.core.ApplicationPart.getSubmittedFileName() method (line 152 where the call to HttpParser.unquote() returns the bad result). I would submit a patch for it, but I'm not exactly sure in what cases the \s should be stripped as the logic only works correctly at the moment with linux (I assume). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org