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=27595>.
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=27595

Unable to move/rename/copy a file or collection (folder) from a windows client

           Summary: Unable to move/rename/copy a file or collection (folder)
                    from a windows client
           Product: Tomcat 4
           Version: 4.1.30
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlets:WebDAV
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Windows client sends absolute URL in the Destination header. Example: 
http://host.domain/dir/newname

This destination path is mangled by the normalize call on line 1507 in 
WebdavServlet.java, because normalize doesn't handle absolute URL well.

I fixed the problem by changing the line 1507 from:
destinationPath = normalize(RequestUtil.URLDecode(destinationPath, "UTF8"));

to:
destinationPath = RequestUtil.URLDecode(destinationPath, "UTF8");

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to