-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Description
Reproduction
I believe a fix like this wingleung/remix-aws#7 is also needed for the @remix-run/architect package, for it to work with Function URLs proper. The problem is that function URLs get cookies in both the headers and the cookies array.
An actual reproduce is quite a bit of work for me. However, if you make a lambda via the AWS console and curl it with some cookies, log the event, you'll see the cookies in both headers.cookie and cookies.
I can open a PR if that's a good enough fix for you folks.
System Info
Not relevantUsed Package Manager
pnpm
Expected Behavior
Cookies just once in lambdas behind AWS Lambda on Function URLs.
Actual Behavior
Cookies are seen twice, e.g. _remix_session=something, _remix_session=something and it breaks remix-auth for example.