MDL-54756 moodle_url: remove dangerous trim from make_file_url
This was a regression caused by MDL-50268. It broke qtype_stack.
This commit is contained in:
@@ -760,7 +760,6 @@ class moodle_url {
|
||||
if ($forcedownload) {
|
||||
$params['forcedownload'] = 1;
|
||||
}
|
||||
$path = rtrim($path, '/');
|
||||
$url = new moodle_url($urlbase, $params);
|
||||
$url->set_slashargument($path);
|
||||
return $url;
|
||||
|
||||
Reference in New Issue
Block a user