plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
249 stars 189 forks source link

Clean up monkey patch in plone.app.blob for Zope ZPublisher #1336

Open fredvd opened 8 years ago

fredvd commented 8 years ago

From monkey.py in plone.app.blob:

ZPublisher gets monkey-patched to use an extended version of the cgi module's FieldStorage class, so that temporary files used during file uploads are not anonymous, but instead provide a file name that can later be used with the blob class' consumeFile method...

We can clean this up once we have a clear view on which Zope version we could move this patch into.

hannosch commented 8 years ago

I've merged the patch into Zope2 in zopefoundation/Zope@4d5910f3130dbddd43dac16a95a4b4e8d5158390. It will be available in Zope2 4.0a2+.