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
{{ message }}
Repository navigation
getCookies() throws error when cookie header is an empty string #7320
changed the title [-]`getCookies()` throws SyntaxError when Headers contains an empty cookie string (cookie: '')[/-][+]`getCookies()` throws error when cookie header is an empty string [/+]on Sep 14, 2026
I’ll add a focused fix and regression tests for empty and whitespace-only headers, while keeping malformed nonempty cookies rejected. AI-assisted with Codex.
Activity
[-]`getCookies()` throws SyntaxError when Headers contains an empty cookie string (cookie: '')[/-][+]`getCookies()` throws error when cookie header is an empty string [/+]dennisimoo commentedon Sep 23, 2026
I’ll add a focused fix and regression tests for empty and whitespace-only headers, while keeping malformed nonempty cookies rejected. AI-assisted with Codex.