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

Modify file_system API to use curl for downloads and streaming

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3, 3.11
    • None
    • Files API, General
    • MOODLE_311_STABLE, MOODLE_33_STABLE

    Description

      As raised in MDL-46375, we should be using the Moodle CURL API for all downloads and streaming. This gives us the benefit of both Proxy server support and URL blacklisting/whitelisting.

      Individual implementations may choose to switch back to standard file_get_contents and uses of readfile on a remote path if they are sure that they may do so in the target environment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dobedobedoh Andrew Lyons
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: