Permalink
Browse files

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

…quest headers
  • Loading branch information...
1 parent f171a8c commit 9fe0281217454c806293b3ed2b176cf2f805f40e @mrmark mrmark committed with Sam Hemelryk Jul 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/service.php
View
@@ -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);

0 comments on commit 9fe0281

Please sign in to comment.