-
Bug
-
Resolution: Fixed
-
Major
-
3.3.5, 3.4.2, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-61724-master -
-
MDL-60398 introduced a hard limit (MAX_FILENAME_SIZE, 90 bytes) on the length of file and directory names. What it didn't provide, however, is a migration path for files that were uploaded before the update to 3.4.2/3.2.5.
Currently, when PATH_INFO passes through clean_param(..., PARAM_PATH/PARAM_FILE) - e.g. when a file resource is accessed via pluginfile.php (meaning: course page, filepicker etc.) - the path becomes truncated. This results in all pre-existing files with filenames beyond the 90 byte limit becoming inaccessible. In our use-case (higher ed. with many scientific resources and lecture notes), this affects thousands of files!
- duplicates
-
MDL-61904 Files with filename >90 was broken
- Closed
- is a regression caused by
-
MDL-60398 Unable to download resource of type "Folder" with name of 200+ bytes
- Closed
- is duplicated by
-
MDL-61871 Files with name length > 90 are breaking Web Services
- Closed
-
MDL-61762 Resource files unable to be served due to update.
- Closed
-
MDL-62324 Documents with names of more that 90 characters fail to download
- Closed
- will help resolve
-
MDL-61723 Courses with long "shortname" can't backup anymore
- Closed