mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
OIDC: Fix error in URL splitting
This commit is contained in:
@@ -685,7 +685,7 @@ class SSOLoginReturnView(RedirectBackMixin, View):
|
|||||||
popup_origin,
|
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'):
|
if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'):
|
||||||
return self._fail(
|
return self._fail(
|
||||||
|
|||||||
Reference in New Issue
Block a user