Fix required to WebDavURL (Was missing top folder level)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2011-11-03 18:22:30 +00:00
parent b56371e350
commit 1c2c8442af

View File

@@ -102,8 +102,7 @@ public class WebDavServiceImpl implements WebDavService
StringBuilder path = new StringBuilder(128);
path.append("/" + WEBDAV_PREFIX);
// build up the path skipping the first path as it is the root folder
for (int i=1; i<paths.size(); i++)
for (int i=0; i<paths.size(); i++)
{
path.append("/")
.append(URLEncoder.encode(paths.get(i).getName()));