X-Git-Url: https://code.communitydata.science/nu-vpn-proxy.git/blobdiff_plain/6ee0c497943d70259d6ded703665b557841f4904..4ee7744d7d0b4c28ab90f243ec93b1d82866dcdd:/test-globalprotect-login.py diff --git a/test-globalprotect-login.py b/test-globalprotect-login.py index 4c325b2..f964a83 100755 --- a/test-globalprotect-login.py +++ b/test-globalprotect-login.py @@ -124,6 +124,7 @@ elif xml is not None and xml.tag == 'prelogin-response' and None not in (xml.fin else: print("Got SAML POST, saved to:\n\t%s" % tf.name) elif sam == 'REDIRECT': + sr = a2b_base64(sr) if args.browse: print("Got SAML REDIRECT, browsing to %s" % sr) webbrowser.open(sr)