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

extend config for Request form memory settings #5625

Closed
davidism opened this issue Oct 31, 2024 · 0 comments · Fixed by #5626
Closed

extend config for Request form memory settings #5625

davidism opened this issue Oct 31, 2024 · 0 comments · Fixed by #5626
Assignees
Milestone

Comments

@davidism
Copy link
Member

davidism commented Oct 31, 2024

Werkzeug provides three settings on Request to control form parsing: max_content_length, max_form_memory_size, and max_form_parts. Only max_content_length is exposed as a Flask config right now, and the way it's implemented means it can only be set for the whole application, not per-request. Fix all that. Document these in the security page as well as the config page.

@davidism davidism added this to the 3.1.0 milestone Oct 31, 2024
@davidism davidism self-assigned this Oct 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant