Closed gonzaloserrano closed 4 years ago
I came here looking for exactly this fix, from reading https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin and https://w3c.github.io/webappsec-cors-for-developers/#avoid-returning-access-control-allow-origin-null
Any chance this might get merged?
Hmmm. I see what it's doing: sending as origin, the current origin. This isn't ideal for strange cache and proxy scenarios.
Thank you!
Hi,
I want to return the wildcard in the
Access-Control-Allow-Origin
response header and tried this quick fix.Does it make sense to you?
Thanks