Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MDL-38419: External tool - when force SSL checked, URLs get corrupted
[moodle.git]
/
mod
/
lti
/
locallib.php
diff --git
a/mod/lti/locallib.php
b/mod/lti/locallib.php
index
81c40fd
..
fdeecbc
100644
(file)
--- a/
mod/lti/locallib.php
+++ b/
mod/lti/locallib.php
@@
-1155,7
+1155,7
@@
function lti_ensure_url_is_https($url) {
} else {
//If the URL starts with http, replace with https
if (stripos($url, 'http://') === 0) {
- $url = 'https://' . substr($url,
8
);
+ $url = 'https://' . substr($url,
7
);
}
}