We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
split_headers
1 parent 93d22b7 commit c1bf43eCopy full SHA for c1bf43e
.changeset/three-elephants-breathe.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/adapter-netlify': patch
3
4
+
5
+Fix incorrect set-cookie header handling on adapter-netlify
packages/adapter-netlify/src/handler.js
@@ -73,7 +73,8 @@ function split_headers(headers) {
73
74
headers.forEach((value, key) => {
75
if (key === 'set-cookie') {
76
- m[key] = value.split(', ');
+ // @ts-expect-error (headers.raw() is non-standard)
77
+ m[key] = headers.raw()[key];
78
} else {
79
h[key] = value;
80
}
0 commit comments