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

          Activity

            People

            Assignee:
            xuangui Xuan Gui
            Reporter:
            brendanheywood Brendan Heywood
            Peer reviewer:
            Peter Burnett Peter Burnett
            Integrator:
            Jake Dallimore Jake Dallimore
            Tester:
            Gladys Basiana Gladys Basiana
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              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