Merge branch 'pullreq' of https://github.com/ericblade/hcpy into returnUrlfix

This commit is contained in:
Meatballs
2024-03-19 10:50:09 +00:00

View File

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