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

AWS S3: disallow sub-dir selection with bucket names #2053

Merged
merged 3 commits into from
Dec 19, 2019

Conversation

ennru
Copy link
Member

@ennru ennru commented Dec 19, 2019

Purpose

Validate the bucket name even when using path-style access so that using .. doesn't give access to other S3 buckets levels.

References

#1679

Changes

  • validate bucket names for path-style access
  • shut down WireMock in tests
  • avoid nesting Source.setup in request

Background Context

When using path-style access, the S3 bucket name becomes a part of the URLs and opens up to select sub-directories on S3.
Path-style access is being discontinued by AWS from September 2020 see #1679

@seglo
Copy link
Member

seglo commented Dec 19, 2019

Known failure: #1802

Copy link
Member

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A good sanity check to have.

@seglo seglo merged commit d902c9a into akka:master Dec 19, 2019
@ennru ennru deleted the s3-path-style branch December 19, 2019 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants