Won't Fix
Details
Priority
MinorAffects versions
Components
Assignee
Core TeamCore TeamReporter
Charles HasegawaCharles Hasegawa
Details
Details
Priority
Affects versions
Components
Assignee
Core Team
Core TeamReporter
Charles Hasegawa
Charles HasegawaCreated June 27, 2013 at 12:55 PM
Updated August 14, 2017 at 2:02 PM
Resolved August 14, 2017 at 2:02 PM
The documentation for content.upload.ceiling incorrectly states the value is in bytes - the code is treating the number as MB. Additionally, the information should explain the settings.
Upload limit per request, in MBs.
"ceiling" is used for resources. "max" is used for attachments.
In the case when both are set, resources are limited to the smaller of the two. If only one of the two are set, resource uploads are limited to the value whichever is set.
Attachments are limited at either 20 (default) or the setting of "max".
Examples:
content.upload.max=50 and content.upload.ceiling=25 (attachments limit of 50MB and resource uploads at 25MB)
content.upload.max=10 and content.upload.ceiling=15 (attachments limit of 10MB and resource uploads at 10MB)
content.upload.ceiling=25 (attachments limit of 20MB and resource uploads at 25MB)
content.upload.max=50 (attachments limit of 50MB and resource uploads at 50MB)