We have moved to GitHub Issues
Created by Simon Busborg 12 Nov 2015, 09:53:47 Updated by Claus Jensen 25 Nov 2015, 08:44:07
Is required for: U4-6924
We already have for fileTypes in Umbraco.Sys.ServerVariables.umbracoSettings.imageFileTypes, but need something similar for maxFileSize.
PR for review: https://github.com/umbraco/Umbraco-CMS/pull/925
Here's the notes for this value:
Optional Int32 attribute. Specifies the limit for the input stream buffering threshold, in KB. This limit can be used to prevent denial of service attacks that are caused, for example, by users posting large files to the server. The default is 4096 (4 MB).
... so it's very important to know that this value will be returned in JSON as a string, so you'll need to parse to INT but in some rare cases it could return null so you'll need to check for that too. And the value is in KB
See screenshot for data format:
Backwards Compatible: True
Affected versions: 7.4.0
Due in version: 7.4.0
Sprint: Sprint 3