forked from CGM_Public/pretix_original
Fix invalid usage of re.split() on Python 3.13
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user