You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have server function which is setting a cookie via setCookie("user_preferences", "preference_value"). And Im calling this function from within loader multiple times.
It sets the set-cookie header in a very wierd way.
If called 4 times it includes 4 set-cookie headers and fifth set-cookie header with 4 values repeated. See screenshot.
Your Example Website or App
Dont have time now to provide. Im in hurry. Sorry. Will provide if needed.
Steps to Reproduce the Bug or Issue
Use multiple setCookie with same name in the route loader.
Expected behavior
I would expect TanStart to deduplicate and set just the last called value.
Screenshots or Videos
Platform
OS: macOS
Browser: Chrome
Version: -
Additional context
No response
The text was updated successfully, but these errors were encountered:
Which project does this relate to?
Start
Describe the bug
Hi,
Ive encountered an interesting problem.
I have server function which is setting a cookie via
setCookie("user_preferences", "preference_value")
. And Im calling this function from within loader multiple times.It sets the set-cookie header in a very wierd way.
If called 4 times it includes 4 set-cookie headers and fifth set-cookie header with 4 values repeated. See screenshot.
Your Example Website or App
Dont have time now to provide. Im in hurry. Sorry. Will provide if needed.
Steps to Reproduce the Bug or Issue
Use multiple setCookie with same name in the route loader.
Expected behavior
I would expect TanStart to deduplicate and set just the last called value.
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: