From e74793994a9cfb433a809bf76c1266115da05242 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 3 Jan 2025 15:21:15 +0100 Subject: [PATCH] Fix invalid usage of re.split() on Python 3.13 --- src/pretix/presale/views/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/views/customer.py b/src/pretix/presale/views/customer.py index 0d122d721..693128b1c 100644 --- a/src/pretix/presale/views/customer.py +++ b/src/pretix/presale/views/customer.py @@ -743,7 +743,7 @@ class SSOLoginReturnView(RedirectBackMixin, View): popup_origin, ) - nonce, redirect_to = re.split("[%#§]", request.GET['state'], 1) # Allow § and # for backwards-compatibility for a while + nonce, redirect_to = re.split("[%#§]", request.GET['state'], maxsplit=1) # Allow § and # for backwards-compatibility for a while if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'): return self._fail(