Merge branch 'MDL-65409-master' of git://github.com/mihailges/moodle

This commit is contained in:
Andrew Nicols
2019-07-16 11:35:23 +08:00
@@ -124,7 +124,7 @@ class converter implements \core_files\converter_interface {
$uploadurl;
// Google returns a location header with the location for the upload.
foreach ($headers as $header) {
if (strpos($header, 'Location:') === 0) {
if (stripos($header, 'Location:') === 0) {
$uploadurl = trim(substr($header, strpos($header, ':') + 1));
}
}