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

Local Solr is blocked by curl restrictions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.3, 3.3
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Global search
    • Labels:
    • Testing Instructions:
      Hide
      1. Install and setup Solr as the searh engine, see https://docs.moodle.org/33/en/Global_search#How_to_install_Solr
      2. in Site administration > Security > HTTP security block the host where solr is installed
      3. Check status on Site administration > Plugins > Search > Manage global search , it should be ok
      4. re-index site contents
      5. search for something
      Show
      Install and setup Solr as the searh engine, see https://docs.moodle.org/33/en/Global_search#How_to_install_Solr in Site administration > Security > HTTP security block the host where solr is installed Check status on Site administration > Plugins > Search > Manage global search , it should be ok re-index site contents search for something
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      wip-MDL-58915-master

      Description

      If Solr address is specified in site administration as localhost it get effectively blocked by $CFG->curlsecurityblockedhosts

      Considering only admin can set the solr address it should bypass blocked hosts setting.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17