Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with S3LayerDeleter deleting files outside of layer #2070

Merged
merged 1 commit into from
Mar 14, 2017
Merged

Fix issue with S3LayerDeleter deleting files outside of layer #2070

merged 1 commit into from
Mar 14, 2017

Conversation

kthompson
Copy link
Contributor

S3LayerDeleter can incorrectly delete keys since it is based on a wildcard pattern.

For example:
If you have multiple keys like

1/files
10/files

and you delete an entry with the key 1 then it will also delete 10/files Appending the extra / will perform the task as expected

@lossyrob lossyrob added this to the 1.1 milestone Mar 14, 2017
S3LayerDeleter can incorrectly delete keys since it is based on a wildcard pattern.
@lossyrob lossyrob changed the title Update S3LayerDeleter.scala Fix issue with S3LayerDeleter deleting files outside of layer Mar 14, 2017
@lossyrob lossyrob merged commit df7c945 into locationtech:master Mar 14, 2017
@kthompson kthompson deleted the patch-1 branch March 20, 2017 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants