Merge pull request #10 from Meatballs1/returnUrlfix

Fixes capitilzation of `ReturnUrl`
This commit is contained in:
pmagyar
2024-03-19 13:00:29 +01:00
committed by GitHub

View File

@@ -136,7 +136,7 @@ while True:
# get the ReturnUrl from the response # get the ReturnUrl from the response
query = parse_qs(urlparse(preauth_url).query) query = parse_qs(urlparse(preauth_url).query)
return_url = query["returnUrl"][0] return_url = query["ReturnUrl"][0]
debug(f"{return_url=}") debug(f"{return_url=}")
if "X-CSRF-FORM-TOKEN" in r.cookies: if "X-CSRF-FORM-TOKEN" in r.cookies: