Re-add Veeam Listing workaround (#16593)

This commit is contained in:
Klaus Post
2023-02-10 19:48:39 +01:00
committed by GitHub
parent d65debb6bc
commit d0f4cc89a5
3 changed files with 16 additions and 1 deletions
+3 -1
View File
@@ -96,7 +96,9 @@ func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (
// Decode and get the optional list id from the marker.
o.parseMarker()
o.BaseDir = baseDirFromPrefix(o.Prefix)
if o.BaseDir == "" {
o.BaseDir = baseDirFromPrefix(o.Prefix)
}
o.Transient = o.Transient || isReservedOrInvalidBucket(o.Bucket, false)
o.SetFilter()
if o.Transient {