thumbor-community / aws

Thumbor AWS extensions
MIT License
155 stars 70 forks source link

Cannot DELETE when TC_AWS_RANDOMIZE_KEYS = True #130

Closed ahuang0808 closed 1 year ago

ahuang0808 commented 6 years ago

When TC_AWS_RANDOMIZE_KEYS=True, the DELETE method doesn't get the right filepath.

Stacktrace

Versions

thumbor==6.3.0
tc-aws==6.2.12
tornado-botocore==1.4.0
botocore==1.5.70

Configuration

Steps to reproduce

  1. Set TC_AWS_RANDOMIZE_KEYS=True
  2. Send a DELETE request

I think we should add "file_abspath = self._normalize_path(path)" in the remove method in the class AwsStorage.

Bladrak commented 4 years ago

Might be fixed in #141

Bladrak commented 1 year ago

Cleaning up old issues