Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit file upload size #2266

Merged
merged 9 commits into from
Jun 17, 2024
Merged

Limit file upload size #2266

merged 9 commits into from
Jun 17, 2024

Conversation

Floppy
Copy link
Collaborator

@Floppy Floppy commented Jun 17, 2024

Adds a configurable limit for file upload size, to mitigate potential DoS attack vectors with too-huge files. 256MiB by default, configurable with MAX_FILE_UPLOAD_SIZE env var.

Part of #2234.

@Floppy Floppy marked this pull request as ready for review June 17, 2024 14:41
Copy link

codeclimate bot commented Jun 17, 2024

Code Climate has analyzed commit 99ab395 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 66.6% (50% is the threshold).

This pull request will bring the total coverage in the repository to 86.3% (0.0% change).

View more on Code Climate.

@Floppy Floppy merged commit 3ca2f98 into main Jun 17, 2024
10 checks passed
@Floppy Floppy deleted the max-upload-size branch June 17, 2024 14:50
@Floppy Floppy added feature User-facing features and product enhancements security labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature User-facing features and product enhancements security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant