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

Adding FORM_PART_LIMIT for overriding MultipartParser.part_limit #1251

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

drfho
Copy link
Contributor

@drfho drfho commented Feb 9, 2025

Complex modelling GUIs may have lot of form values in a grid. With the introduction of multipart==1.2.1
https://github.com/zopefoundation/Zope/blame/a2cbf86fca81836aac194b1075ed0728e8c0c79b/requirements-full.txt#L27
some weeks ago the arbitrary limit of 128 form parameters is getting relevant. Using the new requirement ZPublisher blocks bigger forms. I would like to suggest handling the parts_limit it similar to the other form limits and add a corresponding variable

FORM_PART_LIMIT = 2 ** 10     # limit for individual form parts

that can override the 128 limitation.

Ref: zms-publishing/ZMS#334

@drfho drfho requested a review from d-maurer February 9, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant