mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user