We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deec72e commit b2030ceCopy full SHA for b2030ce
src/UmbracoFileSystemProviders.Azure/AzureFileSystem.cs
@@ -407,7 +407,7 @@ public IEnumerable<string> GetDirectories(string path)
407
IEnumerable<IListBlobItem> blobs = directory.ListBlobs().Where(blob => blob is CloudBlobDirectory).ToList();
408
409
// Always get last segment for media sub folder simulation. E.g 1001, 1002
410
- return blobs.Cast<CloudBlobDirectory>().Select(cd => cd.Prefix);
+ return blobs.Cast<CloudBlobDirectory>().Select(cd => cd.Prefix.TrimEnd('/'));
411
}
412
413
/// <summary>
0 commit comments