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

Captcha not using ssl mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1, 2.0
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      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);

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/08