-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Implement MIME type filtering for files in Helper class #1338
[FEATURE] Implement MIME type filtering for files in Helper class #1338
Conversation
fschoelzel
commented
Sep 18, 2024
- switched from simple mime-type list to provided MimeTypeCollection list from TYPO3 Core
- add filter method to helper class
- custom key and category Parameter
- add filter for images in ToolboxController and PageViewController
- prevent download of files which are in mets:fileGrp USE="DEFAULT"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is great for the image download tool, will this still work for IIIF and IIP images? Those won't have an image/*
MIME type, but something like application/*
. The changes in PageView
controller suggest that those images won't be displayed any more... Or am I missing something?
33d0a78
to
4a61aea
Compare
- switched from simple mime-type list to provided MimeTypeCollection list from TYPO3 Core - add filter method to helper class - custom key and category Parameter - add filter for images in ToolboxController and PageViewController - prevent download of files which are in mets:fileGrp USE="DEFAULT"
640f6a5
to
1e8fd27
Compare
I simplified the |