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:
@@ -299,19 +299,24 @@ public class PropFindMethod extends WebDAVMethod
|
|||||||
// Output the child node details
|
// Output the child node details
|
||||||
for (FileInfo curChildInfo : childNodeInfos)
|
for (FileInfo curChildInfo : childNodeInfos)
|
||||||
{
|
{
|
||||||
// Build the path for the current child node
|
// Do not output link nodes
|
||||||
baseBuild.setLength(curBaseLen);
|
|
||||||
|
if ( curChildInfo.isLink() == false)
|
||||||
baseBuild.append(curChildInfo.getName());
|
{
|
||||||
|
// Build the path for the current child node
|
||||||
// Output the current child node details
|
baseBuild.setLength(curBaseLen);
|
||||||
generateResponseForNode(xml, curChildInfo, baseBuild.toString());
|
|
||||||
|
baseBuild.append(curChildInfo.getName());
|
||||||
// If the child is a folder add it to the list of next level nodes
|
|
||||||
if (nextNodeInfos != null && curChildInfo.isFolder())
|
// Output the current child node details
|
||||||
{
|
generateResponseForNode(xml, curChildInfo, baseBuild.toString());
|
||||||
nextNodeInfos.add(curChildInfo);
|
|
||||||
}
|
// If the child is a folder add it to the list of next level nodes
|
||||||
|
if (nextNodeInfos != null && curChildInfo.isFolder())
|
||||||
|
{
|
||||||
|
nextNodeInfos.add(curChildInfo);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user