Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions bw-util-dav/src/main/java/org/bedework/util/dav/DavUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -816,12 +816,13 @@ public Collection<DavChild> processResponses(final Collection<Element> responses

DavChild dc = makeDavResponse(resp);

/* We get the collection back as well - check for it and skip it. */
URI childURI = new URI(dc.uri);
if (parentURI != null) {
/* We get the collection back as well - check for it and skip it. */
URI childURI = new URI("http", "localhost", dc.uri, null);

if ((parentURI != null) &&
parentURI.getPath().equals(childURI.getPath())) {
continue;
if (parentURI.getPath().equals(childURI.getPath())) {
continue;
}
}

result.add(dc);
Expand Down