From 9bf752e378fb315c275c1e01a9af9240924d7e5c Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 3 Jul 2026 12:40:39 +0200 Subject: [PATCH] Handle fragments safely on webcheckin logout --- .../plugins/webcheckin/static/pretixplugins/webcheckin/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/api.ts b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/api.ts index 8e034b5003..7d80a6e6f3 100644 --- a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/api.ts +++ b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/api.ts @@ -205,8 +205,8 @@ const CSRF_TOKEN = document.querySelector('input[name=csrfmidd function handleAuthError (response: Response): void { if ([401, 403].includes(response.status)) { window.location.href = '/control/login?next=' + encodeURIComponent( - window.location.pathname + window.location.search + window.location.hash - ) + window.location.pathname + window.location.search + ) + window.location.hash } }