mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Do not show link nodes via WebDAV.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -298,6 +298,10 @@ public class PropFindMethod extends WebDAVMethod
|
|||||||
|
|
||||||
// Output the child node details
|
// Output the child node details
|
||||||
for (FileInfo curChildInfo : childNodeInfos)
|
for (FileInfo curChildInfo : childNodeInfos)
|
||||||
|
{
|
||||||
|
// Do not output link nodes
|
||||||
|
|
||||||
|
if ( curChildInfo.isLink() == false)
|
||||||
{
|
{
|
||||||
// Build the path for the current child node
|
// Build the path for the current child node
|
||||||
baseBuild.setLength(curBaseLen);
|
baseBuild.setLength(curBaseLen);
|
||||||
@@ -314,6 +318,7 @@ public class PropFindMethod extends WebDAVMethod
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Update the current tree depth
|
// Update the current tree depth
|
||||||
curDepth++;
|
curDepth++;
|
||||||
|
Reference in New Issue
Block a user