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

@@ -796,13 +796,21 @@ public abstract class WebDAVMethod
}
/**
* @return Returns the path of the servlet
* @return Returns the path of the servlet, e.g. /webdav
*/
protected final String getServletPath()
{
return m_request.getServletPath();
}
/**
* @return Returns the context path of the servlet, e.g. /alfresco
*/
protected final String getContextPath()
{
return m_request.getContextPath();
}
/**
* Return the root node
*