-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
b1a17a8
commit f37cd9c
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Be more strict when checking if mimetype is allowed to be displayed inline. | ||
[maurits] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters