Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14073

Captcha not using ssl mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.1, 2.0
    • 1.9
    • Authentication
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      When SSL is enabled, the communication with the captcha server is still in normal mode, resulting in warnings from the browser.
      The problem is in /lib/form/recaptcha.php and the routines using this lib.
      On line 88 the function call: return $html . recaptcha_get_html($CFG->recaptchapublickey, $error);
      is not using the 3rd parameter (true/false) for enabling the secure captcha serve call.

      temp patch for systems using ssl is to force the secure server call by changing line 88 to:
      return $html . recaptcha_get_html($CFG->recaptchapublickey, $error,true);

            nicolasconnault Nicolas Connault (Inactive)
            hwevers Henk Wevers (Inactive)
            Mathieu Petit-Clair Mathieu Petit-Clair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.