Skip to content

Commit

Permalink
Replace deprecated multipart argument memfile_limit with spool_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
stollero authored and mgedmin committed Oct 23, 2024
1 parent 233ad0c commit f5ecb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/publisher/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def processInputs(self):
if env.get('CONTENT_LENGTH') == '':
env.pop('CONTENT_LENGTH')
forms, files = multipart.parse_form_data(
env, charset=self.default_form_charset, memfile_limit=0)
env, charset=self.default_form_charset, spool_limit=0)
items.extend(forms.iterallitems())
for key, item in files.iterallitems():
# multipart puts fields in 'files' even if no upload was
Expand Down

0 comments on commit f5ecb20

Please sign in to comment.