Skip to content
Snippets Groups Projects
Verified Commit f7c8fc76 authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix(check_saml): follow all redirects on ProxyIdP

parent 820bdf03
No related branches found
No related tags found
1 merge request!48fix: allow use check_saml probe on proxyidp
Pipeline #375467 passed
...@@ -284,6 +284,7 @@ class SAMLChecker: ...@@ -284,6 +284,7 @@ class SAMLChecker:
def js_form_redirect(self, html, url, force=False): def js_form_redirect(self, html, url, force=False):
if ( if (
force force
or "document.getElementsByTagName('input')[0].click();" in html
or "document.forms[0].submit()" in html or "document.forms[0].submit()" in html
or "javascript:DoSubmit();" in html or "javascript:DoSubmit();" in html
): ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment