CORS should not allow wildcard and a specific method #3647
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods, there are two valid options:
This implies you cannot have
Access-Control-Allow-Methods: GET,*
. You probably shouldn't anyways.It probably makes sense to allow a single entry only if one is a wildcard.
Note the link is not an RFC, but the RFCs seem super vague here
The text was updated successfully, but these errors were encountered: