You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your bucket has cors setup to allow * origin and method, for header you have only x-custom-header allowed. So if you make this modify this preflight request to
It could be better ergonomics if the invisible default was to include all the CORS-safelisted headers, though I understand it may also need to include some browser specific ones like Pragma so it is difficult to be exhaustive. In any case perhaps the docs could reflect the default allowlist being empty? (I think other S3 implementations have a default list, so the way Tigris works was surprising)
On this part of the docs: https://github.com/tigrisdata/tigris-os-docs/blob/main/docs/buckets/cors.md?plain=1#L73
The UI specifies
Enter comma separated values. (Accept,Accept-Language,Authorization or *)
.Are we expected to exhaustively specify all headers in the request like
Accept
,Origin
,Pragma
that the browser attaches automatically?I am having trouble specifying an allowlist of headers with my UI setting to
X-Custom-Header
. You can see the repro page here: https://bdon.github.io/tigris-cors/ (repository: https://github.com/bdon/tigris-cors)The second CORS request fails because it needs a preflight for the custom header
X-Custom-Header
.It seems to work when the allowed headers are set to
*
in the UI.(Maybe this is better as a forum support ticket instead of a docs issue)
The text was updated successfully, but these errors were encountered: