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

Feedback activity does not display CAPTCHA if site uses HTTPS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Feedback
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      Prerequisites:

      Test:

      • Create a course and add an instance of the Feedback activity
      • Click the 'Edit questions' tab and add a 'Captcha'
      • Go back to the 'Overview' tab and click 'Answer the questions...'
      • Check that the CAPTCHA is displayed
      • Ideally, turn off HTTPS for the site and check that the CAPTCHA still displays over HTTP
      Show
      Prerequisites: A Moodle site that is configured to always use HTTPS A reCAPTCHA public and private key pair for the site's domain, created at https://www.google.com/recaptcha/admin/create Moodle configured to use the reCAPTCHA keys at https://your.moodle.site/admin/settings.php?section=manageauths Test: Create a course and add an instance of the Feedback activity Click the 'Edit questions' tab and add a 'Captcha' Go back to the 'Overview' tab and click 'Answer the questions...' Check that the CAPTCHA is displayed Ideally, turn off HTTPS for the site and check that the CAPTCHA still displays over HTTP
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43632-master

      Description

      The CAPTCHA question type in the Feedback module does not display anything if the Moodle site is using HTTPS.

      The activity uses an implementation of reCAPTCHA, which requires the API request for the challenge to be made via HTTPS if the site is using HTTPS. However it is currently coded to always make the request via HTTP.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14