Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/main Date: 2023-10-28T22:15:39+02:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.restapi@f37cd9c Be more strict when checking if mimetype is allowed inline. (#1724) * Be more strict when checking if mimetype is allowed to be displayed inline. This takes over some code from zopefoundation/Zope#1167. See also plone/plone.namedfile#154 * Copy a test for extract_media_type from Zope. * Rename extract_media_type to _extract_media_type to signal it as private. Files changed: A news/1167.bugfix M src/plone/restapi/services/users/get.py M src/plone/restapi/tests/test_services_users.py
- Loading branch information