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=43893>. 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=43893 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal ------- Additional Comments From [EMAIL PROTECTED] 2007-11-20 00:09 ------- Hello Mark, thanks for looking into this. You are absolutely right, it does work fine when the servlet is mapped with /*, it only fails with / mapping. The reason I used / is because I do want the redirects to be generated, but I can use /* as a workaround for now, thanks! I'm surprised though that you can't reproduce it with the / mapping. I can reliably reproduce it here every time, I just tried again to make sure, here is a transcript of the steps: <unpack freshly downloaded apache-tomcat-6.0.14.tar.gz into c:\apache- tomcat-6.0.14, and download webdav.war from this bug report to C:\webdav.war> C:\>set CATALINA_HOME=c:\apache-tomcat-6.0.14 C:\>copy webdav.war %CATALINA_HOME%\webapps 1 file(s) copied. C:\>%CATALINA_HOME%\bin\catalina.bat start Using CATALINA_BASE: c:\apache-tomcat-6.0.14 Using CATALINA_HOME: c:\apache-tomcat-6.0.14 Using CATALINA_TMPDIR: c:\apache-tomcat-6.0.14\temp Using JRE_HOME: c:\Java\jdk-1.6.0 C:\>nc localhost 8080 PROPFIND /webdav/file.txt HTTP/1.1 Content-Type: text/xml; charset=utf-8 User-Agent: Jakarta Commons-HttpClient/3.0 Host: localhost:8080 Depth: 0 HTTP/1.1 207 Multi-Status Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=UTF-8 Content-Length: 732 Date: Tue, 20 Nov 2007 07:45:33 GMT <?xml version="1.0" encoding="utf-8" ?> <multistatus xmlns="DAV:"><response><href>/webdav/file.txt/file.txt</href> <propstat><prop><creationdate>2007-11-18T07:42:14Z</creationdate> <displayname><![CDATA[file.txt]]></displayname> <getlastmodified>Sun, 18 Nov 2007 07:42:14 GMT</getlastmodified> <getcontentlength>0</getcontentlength> <getcontenttype>text/plain</getcontenttype> <getetag>W/"0-1195371734000"</getetag> <resourcetype/><source></source> <supportedlock><lockentry><lockscope><exclusive/></lockscope><locktype><write/ ></locktype></lockentry><lockentry><lockscope><share d/></lockscope><locktype><write/></locktype></lockentry></supportedlock> </prop> <status>HTTP/1.1 200 OK</status> </propstat> </response> </multistatus> That "nc" command above is netcat from Cygwin, which I have in the PATH. Even though the attached patch turned out to be too naive, it does show the exact line in the code where I observed the path duplication with a debugger, when WebdavServlet is mapped to / url prefix. -- 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]