Merge branch 'MDL-65409-37' of git://github.com/mihailges/moodle into MOODLE_37_STABLE

This commit is contained in:
Andrew Nicols
2019-07-16 11:36:42 +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));
}
}