Skip to content

Commit

Permalink
Merge pull request #7 from bvdcode/minor_change_2
Browse files Browse the repository at this point in the history
Fix condition in WebDavCloudClient.cs to exclude parent and current d…
  • Loading branch information
bvdcode authored Oct 21, 2024
2 parents 5faaa71 + f9314ba commit cec1a85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/EasyExtensions.WebDav/WebDavCloudClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ public async Task<IEnumerable<WebDavResource>> GetResourcesAsync(string folder)
x.Uri != url &&
x.DisplayName != ".." &&
x.DisplayName != "." &&
x.Uri != url + "/");
x.Uri != url + "/" &&
x.Uri + "/" != url);
}

/// <summary>
Expand Down

0 comments on commit cec1a85

Please sign in to comment.