MDL-40005: LTI module uses Apache specific function for retrieving request headers

This commit is contained in:
Mark Nielsen
2013-07-29 10:54:10 +12:00
committed by Sam Hemelryk
parent f171a8c06e
commit 9fe0281217
+1 -1
View File
@@ -33,7 +33,7 @@ use moodle\mod\lti as lti;
$rawbody = file_get_contents("php://input");
foreach (getallheaders() as $name => $value) {
foreach (lti\OAuthUtil::get_headers() as $name => $value) {
if ($name === 'Authorization') {
// TODO: Switch to core oauthlib once implemented - MDL-30149
$oauthparams = lti\OAuthUtil::split_header($value);