-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.4.5, 3.5.2, 3.6
-
None
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
Discovered when playing with PHP 7.3 @ MDL-63420, there is a wrong strpos() use in lib/filelib.php
$pos = strpos('/', $current, 8);
It needs to be reviewed, surely params are swapped and there is an attempt to ignore the first protocol chars or something like that.
Ciao
- Discovered while testing
-
MDL-63420 Prepare Moodle for PHP 7.3
- Closed