From c051d044629e428bcc6b7436846bb57c83519349 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 8 May 2023 12:51:14 +0200 Subject: [PATCH] OIDC: Fix error in URL splitting --- 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 54d07f9425..bc3a2102b5 100644 --- a/src/pretix/presale/views/customer.py +++ b/src/pretix/presale/views/customer.py @@ -685,7 +685,7 @@ class SSOLoginReturnView(RedirectBackMixin, View): popup_origin, ) - nonce, redirect_to = re.split("[%#§]", request.GET['state']) # Allow § and # for backwards-compatibility for a while + nonce, redirect_to = re.split("[%#§]", request.GET['state'], 1) # Allow § and # for backwards-compatibility for a while if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'): return self._fail(