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

S3Iterator Strips / from Directory #116

Open
amarcionek opened this issue Nov 27, 2018 · 0 comments
Open

S3Iterator Strips / from Directory #116

amarcionek opened this issue Nov 27, 2018 · 0 comments

Comments

@amarcionek
Copy link

I've noticed that the S3Iterator returns directory elements with an S3Path that is missing the / at the end of the key. With the results from the listobjects call, the code intentionally splits each returned object on the / and then feeds those elements to the S3Path. S3Path in turn build a URL, but then if would remove a / at the end if it exists.

What I don't understand is why? If a key ends with a / then its the only way to access that object.

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

No branches or pull requests

1 participant