mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merged pathinfo fix from stable
This commit is contained in:
parent
0a23fdb759
commit
9b74055f4b
@ -826,7 +826,7 @@ function get_slash_arguments($file='file.php') {
|
||||
$pathinfo = explode($file, $string);
|
||||
|
||||
if (!empty($pathinfo[1])) {
|
||||
return $pathinfo[1];
|
||||
return addslashes($pathinfo[1]);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user