Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-40005: LTI module uses Apache specific function for retrieving re…

…quest headers
  • Loading branch information...
commit 9da794f8aaa771284ecd76fadc053b8eb0338f50 1 parent cd08b5c
@mrmark mrmark authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/lti/service.php
View
2  mod/lti/service.php
@@ -33,7 +33,7 @@
$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);
Please sign in to comment.
Something went wrong with that request. Please try again.