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.
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