Closed m1212e closed 1 month ago
I'm facing the same issue described by @m1212e above. Any fix for this?
Unable to reproduce on the latest version (1.1.9) with the code you provided. Probably have been fixed with the previous subsequent versions of Elysia.
Closing as unable to reproduce and probably complete. If the problem still persist, feel free to reopen the issue.
What version of Elysia.JS is running?
0.8.17
What platform is your computer?
No response
What steps can reproduce the bug?
Use this script and visit the page
What is the expected behavior?
I'd expect the cookie header to contain the specified values and the cookie value to be signed.
What do you see instead?
Instead I just get the value:
Additional information
Setting the cookie settings manually works:
sessionId.httpOnly = true;
but this way I cannot make use of elysias built in cookie sign feature.A workaround would be to use this instead:
ALSO: I'm not sure if this is related, but whenever there is already a cookie set and sent along in the request which issues the cookie, the same error appears, the cookie options are not set.