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

bugfix: LocationConstraint middleware #3002

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

stobrien89
Copy link
Member

@stobrien89 stobrien89 commented Sep 24, 2024

Description of changes:

Updates middleware to skip directory buckets (LocationRestraint is not supported) and fixes a long-running bug where the middleware would override previously configured CreateBucketConfiguration. See https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html#AmazonS3-CreateBucket-request-LocationConstraint

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stobrien89 stobrien89 force-pushed the fix-s3-location-middleware branch 2 times, most recently from c3ebdfd to d52a758 Compare September 24, 2024 19:18
src/S3/S3Client.php Outdated Show resolved Hide resolved
tests/S3/S3ClientTest.php Outdated Show resolved Hide resolved
@stobrien89 stobrien89 merged commit bdd23b9 into aws:master Sep 25, 2024
19 checks passed
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