From 411938b4601d28b5e42e72d446805dcec0f10d0e Mon Sep 17 00:00:00 2001 From: dumbmoron <136796770+dumbmoron@users.noreply.github.com> Date: Sun, 20 Aug 2023 13:27:49 +0000 Subject: [PATCH] do not attempt to update nonexistent cookie --- src/modules/processing/cookie/manager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/processing/cookie/manager.js b/src/modules/processing/cookie/manager.js index 437100a0..4efb0b45 100644 --- a/src/modules/processing/cookie/manager.js +++ b/src/modules/processing/cookie/manager.js @@ -47,6 +47,8 @@ export function getCookie(service) { } export function updateCookie(cookie, headers) { + if (!cookie) return; + const parsed = parseSetCookie(splitCookiesString(headers.get('set-cookie'))), values = {}