Description:
I found a really weird behavior where after posting to /login aka logging in and having an auth cookie, I wasn't able to access any query variables while trying to access the cookies. c.cookie is undefined if c.query.id is accessed. Maybe I'm missing out on something, but this looks like weird and incorrect behavior.
What version of Elysia.JS is running?
Elysia v1.0.14
What platform is your computer?
Linux 6.7.9-200.fc39.x86_64 x86_64 unknown
What steps can reproduce the bug?
Description: I found a really weird behavior where after posting to
/login
aka logging in and having an auth cookie, I wasn't able to access any query variables while trying to access the cookies.c.cookie
is undefined ifc.query.id
is accessed. Maybe I'm missing out on something, but this looks like weird and incorrect behavior.Example:
What is the expected behavior?
I'd expect to have
c.cookie
not be undefined.What do you see instead?
c.cookie
is undefined ifc.query.variable
is accessed.Additional information
No response