-
Bug
-
Resolution: Fixed
-
Major
-
2.9.5, 3.0.3
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_30_STABLE
-
MDL-54110_master -
Changes made in MDL-44626 mean that post_max_size is now the hard upload limit for all repositories, including those that don't use post requests (e.g. File System), regardless of the user's permissions.
Steps to reproduce:
- Set post_max_size to a small value in php.ini (e.g. 1M)
- Set up the File System repository with a folder containing a file larger than post_max_size.
- As a user with `moodle/course:ignorefilesizelimits`, attempt to attach the file to any File Manager field through the File System repository.
- Get a message informing you that the file is too large.
As MDL-44626 was an issue regarding error messages, this appears to be an unintended regression.
- caused a regression
-
MDL-54785 File System Repository silently obeys maximum file size
-
- Closed
-