THOR-1459: WebDAV: site names cannot start with 'webdav'

Core changes to ensure that path extraction is performed correctly.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37157 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2012-05-29 16:10:11 +00:00
parent eb0004fce5
commit 55019252ca
4 changed files with 119 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ public abstract class HierarchicalMethod extends WebDAVMethod
// path, if not then return an error
getDAVHelper().checkDestinationURL(m_request, destURL);
m_strDestinationPath = getDAVHelper().getDestinationPath(getServletPath(), destURL);
m_strDestinationPath = getDAVHelper().getDestinationPath(getContextPath(), getServletPath(), destURL);
// Failed to fix the destination path, return an error