-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
securityIssues and enhancements related to (cyber)securityIssues and enhancements related to (cyber)security
Milestone
Description
Since we now support uploading files, it's especially important from the security perspective to limit the request body to avoid out-of-memory errors, Denial-of-Service attacks, and similar problems.
The limit should most probably be implemented globally and configurable via the TOML config. When the limit is exceeded in debug mode, a nice error saying that "the max request body size has been exceeded; you might need to increase the X config to avoid this". When the debug mode is off, a regular HTTP 413 Content Too Large should be displayed - this should go through the project's error handler, if any was set.
Metadata
Metadata
Assignees
Labels
securityIssues and enhancements related to (cyber)securityIssues and enhancements related to (cyber)security