DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36905>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36905 Summary: Tomcat WebDAV characters bug Product: Tomcat 5 Version: 5.5.12 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Servlets:WebDAV AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] When writing files to the server using Tomcats WebDAV I am not able to write files that contain theese characters in the filename (or create folders): ; (semicolon) + (plus) # (pound) I know these are reserved characters, so I have tried to URL encode them, but Tomcat ignores the URL encoding and writes the URL encoded filenames to disk. Eg. "myfile;01.txt" is saved like "myfile%B301.txt" on the server. Tomcat is configured to do URL Encoding. If I don't do URL Encoding it simply cuts the end of the filename from semicolon like "myfile". I also tested this in Tomcat 5.5.12 with same problems. I have tested several clients. IE 6.0, DavExplorer and own code. This is my Connector configuration in server.xml: <Connector port="80" maxHttpHeaderSize="8192" useBodyEncodingForURI="true" URIEncoding="UTF-8" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> This is what Tomcat logs in stdout.log: 09:14:36,040 INFO MediaServiceImpl: destination = Scala/content/ 09:14:36,056 INFO MediaServiceImpl: MediaItem saved! Identifier: 7 09:14:36,072 INFO MediaServiceImpl: MediaItemFile saved! Identifier: 1 09:14:36,290 INFO [/rome-planning]: webdav: DefaultServlet.init: input buffer size=2048, output buffer size=2048 09:14:36,290 INFO [/rome-planning]: webdav: [PROPFIND] / [Fatal Error] :-1:-1: Premature end of file. 09:14:36,384 INFO [/rome-planning]: webdav: [PUT] /data/Scala/content/myfile stderr.log reports nothing. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]