Skip to content

Commit

Permalink
[fc] Repository: plone.restapi
Browse files Browse the repository at this point in the history
Branch: refs/heads/main
Date: 2023-11-04T07:13:09+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.restapi@9f399ac

Temporarily disable form memory limit checking for files and images. (#1729)

* Allow uploads up to 16 MB.

This fixes a regression due to a low Zope form memory limit of 1MB used since Plone 6.0.7.
You can use ``dos_protection`` settings in ``etc/zope.conf`` to change the limit.
See plone/Products.CMFPlone#3848 and zopefoundation/Zope#1142.

* Changed patch: temporarily disable form memory limit checking for files and images.

This seems a better way, then increasing the limit to 16MB.
See zopefoundation/Zope#1180 (comment)

Files changed:
A news/3848.bugfix
A src/plone/restapi/patches.py
M src/plone/restapi/__init__.py
M src/plone/restapi/deserializer/__init__.py
  • Loading branch information
tisto committed Nov 4, 2023
1 parent b4db18f commit a8687cc
Showing 1 changed file with 20 additions and 62 deletions.
Loading

0 comments on commit a8687cc

Please sign in to comment.