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

Allow plugins to augment the cURL security helper via callback

    XMLWordPrintable

Details

    Description

      The use case here is allowing a plugin to instrument or replace the curl proxy security layer

      Something along the lines of 

      $CFG->alternative_security_helper = 'tool_foo_bar';

      https://github.com/moodle/moodle/blob/master/lib/filelib.php#L3108-L3113

       

      Attachments

        1. MDL-70649.PNG
          MDL-70649.PNG
          106 kB
        2. testcurl.php
          0.2 kB

        Issue Links

          Activity

            People

              xuangui Xuan Gui
              brendanheywood Brendan Heywood
              Peter Burnett Peter Burnett
              Jake Dallimore Jake Dallimore
              Gladys Basiana Gladys Basiana
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 35 minutes
                  3h 35m