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

Modify file_system API to use curl for downloads and streaming

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Files API, General
    • Labels:
      None
    • Affected Branches:
      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

              • Assignee:
                Unassigned
                Reporter:
                dobedobedoh Andrew Nicols
                Participants:
                Component watchers:
                Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Jake Dallimore, Jun Pataleta
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: