From 59aab2406e60b390248a72fe94ebaf32eb270996 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 18:42:18 +0000 Subject: [PATCH] Terminal session: a cookie the system deletes is no longer sent A Set-Cookie with Max-Age=0 or an Expires in the past - how a system ends a session or drops a logon ticket - was stored in the jar like any other cookie, so the ended session (or the old ticket) went out again on every later request. It is dropped now, as a browser drops it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Te3BRpRpxNhZAYnrQL6Gdt --- CHANGELOG.md | 3 +++ renderers/terminal/session.mjs | 23 ++++++++++++++++++++--- test/terminal.test.mjs | 24 ++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41e2fd0..8dc2d5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ end of the text (and the `