version 1.4, 2018/08/14 21:42:36
|
version 1.5, 2018/08/14 23:50:20
|
Line 145 sub handler {
|
Line 145 sub handler {
|
if ($ENV{'SERVER_PORT'} == 443) { |
if ($ENV{'SERVER_PORT'} == 443) { |
$protocol = 'https'; |
$protocol = 'https'; |
} |
} |
unless (LONCAPA::ltiutils::verify_request($params,$protocol,$r->hostname,$r->uri, |
unless (LONCAPA::ltiutils::verify_request($oauthtype,$protocol,$r->hostname,$r->uri, |
$env{'request.method'},$consumer_secret, |
$env{'request.method'},$consumer_secret, |
$params,$authheader,\%errors)) { |
$params,$authheader,\%errors)) { |
&invalid_request($r,\%errors); |
&invalid_request($r,\%errors); |