plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
84 stars 73 forks source link

Be more strict when checking if mimetype is allowed inline. #1724

Closed mauritsvanrees closed 8 months ago

mauritsvanrees commented 8 months ago

This takes over some code from https://github.com/zopefoundation/Zope/pull/1167. See also https://github.com/plone/plone.namedfile/pull/154

netlify[bot] commented 8 months ago

Deploy Preview for plone-restapi canceled.

Name Link
Latest commit 43890f050d41c95e5aded918197c33e3242debe2
Latest deploy log https://app.netlify.com/sites/plone-restapi/deploys/653b94437e4d2400088abedd
mister-roboto commented 8 months ago

@mauritsvanrees thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

mauritsvanrees commented 8 months ago

@jenkins-plone-org please run jobs

davisagli commented 8 months ago

@jenkins-plone-org please run jobs

tisto commented 8 months ago

@jenkins-plone-org please run jobs