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

LTI lti_verify_with_keyset fails behind a proxy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 4.0.2
    • None
    • None
    • MOODLE_400_STABLE

    Description

      the function lti_verify_with_keyset in mod/lti/locallib.php fails because it uses php function file_get_contents to retrieve url

      if I use curl object instead of file_get_contents the url resource can be retrieved with the proxy settings

      this happens only if the keyset is not already cached

              // CURL VERSION         
              $curl = new curl(); 
              $keyset = $curl->get($keyseturl); 
              // ORIGINAL VERSION
              // $keyset = file_get_contents($keyseturl);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Obliot Alessandro Muiesan
              Jake Dallimore, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: