-
Bug
-
Resolution: Fixed
-
Minor
-
3.3, 3.4
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-60634-master -
the page: admin/settings.php?section=mobile times out when saml2 plugin is installed and configured - but I think there are other cases where this will also fail incorrectly - such as when a custom login url is set.
in admin_setting_enablemobileservice a check is made to see if https is supported but this points at the login/index.php page which may not actually be in use and may redirect automatically to something else (saml etc) - we've seen this reported here:
https://github.com/catalyst/moodle-auth_saml2/issues/146
I see 3.4 changes this check a bit and it now checks cert validity as well but it's hard to see if the same issue occurs.
in the stable branches wouldn't be be better to check if $CFG->wwwroot has "https://" and if so - don't bother with the curl call?
Also - considering loginhttps has been deprecated and manual login form isn't required to be used for mobile app support I'm not sure that the login page should be used for checking https support?