Oversize file uploads are not handled well
Bug #547505 reported by
Howard Miller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Mahara doesn't seem to consider files that are bigger than the maximum size allowed in PHP (or wherever). Two things would be good:
* A "max upload size 64MB" (or whatever) on file upload screens, and...
* Properly detect oversize files and issue a sane error message
At the moment it just sits and sulks if the file was too big.
This bug was imported from eduforge.org, see:
https:/
To post a comment you must log in.
The former is a good idea. The latter is actually hard for PHP - if the file uploaded is too big, your script often isn't executed at all (the actual behaviour depends on whether you violate upload_max_filesize or post_max_size). But we can have a play with this and see if the behaviour can be made better.
Sadly, btw, we can't detect the filesize on the client, for javascript security reasons.