Origin is not mirrored in CORS header when setting the first cookie #2684
-
Whenever a CORS request doesn't contain a cookie in the header, but we try to set one (set-cookie in the response header), the origin of the request is not mirrored in the response, leading to CORS errors.
I suggested a fix in this PR: #2675 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you post any reference that sustain your words? Also, links to CORS middleware from other frameworks will speed up the interactions here. |
Beta Was this translation helpful? Give feedback.
-
Let's continue the discussion on the PR.
Well... This doesn't say much. Let's try to make sure the implementation is correct. |
Beta Was this translation helpful? Give feedback.
Let's continue the discussion on the PR.
Well... This doesn't say much. Let's try to make sure the implementation is correct.