Merge pull request #698 from SpoonMeiser/fix-trailing-slash
Stop stripping the trailing slash off keys listed from s3 buckets
This commit is contained in:
commit
fca0d3885b
2 changed files with 18 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ def bucket_name_from_url(url):
|
|||
|
||||
|
||||
def parse_key_name(path):
|
||||
return "/".join(path.rstrip("/").split("/")[2:])
|
||||
return "/".join(path.split("/")[2:])
|
||||
|
||||
|
||||
def is_delete_keys(request, path, bucket_name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue