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

S3: Improve Cors AllowedOrigin behaviour #6007

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

bblommers
Copy link
Collaborator

Fixes #6003

  • Moto now only returns one Origin header
  • Moto now supports wildcards in the supplied AllowedOrigins
  • Moto now raises an error if none of the supplied origins match

@bblommers bblommers added this to the 4.1.4 milestone Mar 3, 2023
@bblommers bblommers merged commit 8b058d9 into getmoto:master Mar 3, 2023
@bblommers bblommers deleted the feature/s3-cors-improvements branch March 3, 2023 22:41
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2023

This is now part of moto >= 4.1.4.dev40

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.

Multiple AllowedOrigins domains for S3 resources result in invalid Access-Control-Allow-Origin from moto
1 participant