whistle 2.9.36-beta → 2.9.37-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/util/index.js +2 -2
- package/package.json +1 -1
package/lib/util/index.js
CHANGED
|
@@ -3069,7 +3069,7 @@ function getCookieItem(name, cookie) {
|
|
|
3069
3069
|
cookie = cookie ? escapeValue(cookie) : cookie;
|
|
3070
3070
|
return name + '=' + (cookie == null ? '' : cookie);
|
|
3071
3071
|
}
|
|
3072
|
-
var attrs = [escapeValue(cookie.value)];
|
|
3072
|
+
var attrs = [name + '=' + escapeValue(cookie.value)];
|
|
3073
3073
|
var maxAge = cookie.maxAge || cookie.maxage ||
|
|
3074
3074
|
cookie.MaxAge || cookie['Max-Age'] || cookie['max-age'];
|
|
3075
3075
|
maxAge = parseInt(cookie.maxAge, 10);
|
|
@@ -3086,7 +3086,7 @@ function getCookieItem(name, cookie) {
|
|
|
3086
3086
|
path && attrs.push('Path=' + path);
|
|
3087
3087
|
domain && attrs.push('Domain=' + domain);
|
|
3088
3088
|
sameSite && attrs.push('SameSite=' + sameSite);
|
|
3089
|
-
return
|
|
3089
|
+
return attrs.join('; ');
|
|
3090
3090
|
}
|
|
3091
3091
|
|
|
3092
3092
|
function addMapArr(obj, key, value) {
|