Closed drwelby closed 4 years ago
So the expected behaviour of s3.delete('dir
)should match namespaces
dir, where
s3.delete('dir/')should match namespaces
dir/? Where currently both would match
dir*`.
Yes, we basically need to implement: https://docs.aws.amazon.com/AmazonS3/latest/dev/ListingKeysHierarchy.html
Current behavior doesn't use slash delimiters with the prefix, so
s3.delete('dir')
will match todir/
, 'dir_1/, and anything else starting with
dir*`.Need to add a slash delimiter and remove code that strips trailing slashes at a minimum.