Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-20534 lti: B8 - Switching from $ME to $FULLME to properly detect …

…SSL requests.
  • Loading branch information...
commit 776e5cfa0fe1edc8cca0080181677155c82b0982 1 parent 6be90ce
scriby scriby authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/lti/locallib.php
4 mod/lti/locallib.php
View
@@ -1167,8 +1167,8 @@ function lti_get_launch_container($lti, $toolconfig) {
}
function lti_request_is_using_ssl() {
- global $ME;
- return (stripos($ME, 'https://') === 0);
+ global $FULLME;
+ return (stripos($FULLME, 'https://') === 0);
}
function lti_ensure_url_is_https($url) {
Please sign in to comment.
Something went wrong with that request. Please try again.