When we upload a file in a filepicker, it do not handle the maxbytes option.
How to reproduce:
- Go to a course
- In the course settings, set the max upload size at 10ko and save
- Add an activity or resource using any file picker
The displayed file size will be unlimited.