https://bz.apache.org/bugzilla/show_bug.cgi?id=61229
Bug ID: 61229 Summary: WebDAV listings fails when a file contains ampersand & Product: Tomcat 8 Version: 8.5.15 Hardware: PC OS: Windows NT Status: NEW Severity: blocker Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: sanderhartogen...@gmail.com Target Milestone: ---- Created attachment 35080 --> https://bz.apache.org/bugzilla/attachment.cgi?id=35080&action=edit webapps webdav folder See the attached test WebDAV folder (webdav.zip). If the WebDAV folder contains a file with an ampersand in the filename, you cannot access the folder at all with WebDAV. I can reproduce it with AnyClient from JSCAPE (in our own product we use jackrabbit for WebDAV access). Full repro steps: - JAVA_HOME is 1.8.0_121 - Extract apache-tomcat-8.5.15.zip to a working folder. - In the webapps directory extract contents of webapps.zip (see attachment) - In apache-tomcat-8.5.15\bin run: catalina.bat start - In AnyClient configure a new connection in Site Manager: -- Host: http://localhost:8080/webdav -- Protocol: WebDAV - Connect, click the refresh button, and notice the listing remains empty. - In a file manager go to webapps\webdav and rename test&.txt to test.txt. - Get the directory listing again, and notice that it works now. I tried three Tomcat versions: 8.5.15: has this bug 8.5.14: works fine 7.0.78: works fine Note that you see the problem only if you access the directory with a WebDAV client, getting the directory listing in a browser works fine. -- 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