mirror of
https://github.com/moodle/moodle.git
synced 2025-03-01 06:22:39 +01:00
As the $rootpath is concatenated with the $relpath, we would end with a path like course_files//file.txt. Such a path is detected as not-valid later and an error would be thrown. So the patch makes sure that the trailing slash is cut off and a debugging for the developer is displayed.