-
Notifications
You must be signed in to change notification settings - Fork 113
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
Do not store CORS headers in output cache #896
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
This does not fix the issue entirely. I am experiencing responses with missing Access-Control-Allow-Origin. Going to look into it. |
c130c8c
to
606d7c8
Compare
Ensure that that dynamic Access-Control-Allow-Origin header is not cached. - Remove Access-Control-Allow-Origin header before saving to cache - Add Access-Control-Allow-Origin dynamically when serving cached responses based on the incoming request's Origin This resolves issues with CORS headers being cached alongside GraphQL responses, which could cause incorrect Access-Control-Allow-Origin values for clients with different origins.
606d7c8
to
7fb17e2
Compare
|
It's fixed. |
I have read the CLA Document and I hereby sign the CLA |
LGTM, thank you! |
Cherry picked to 1.8 -> b71636a |
Ensure that that dynamic Access-Control-Allow-Origin header is not cached.
This resolves issue (#895) with CORS headers being cached alongside GraphQL responses, which could cause incorrect Access-Control-Allow-Origin values for clients with different origins.