-
Notifications
You must be signed in to change notification settings - Fork 44
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
[BUGFIX] MIME Type Filter #1419
base: main
Are you sure you want to change the base?
Conversation
Technically this is fine, but I am not sure if it's a good idea to allow invalid MIME types (by ignoring them). People should better fix their METS files instead... Are invalid MIME types a common problem in METS files? Otherwise I'd prefer asking the "Bibliothek der Friedrich-Ebert-Stiftung" to fix their files. |
Any news on this, @fschoelzel? |
As of my short research, the What do you think @sebastian-meyer ? |
Yes, that's reasonable! Thank you very much! |
… or URL" This reverts commit 06582dc.
…g MimeTypeDetector class
b1dcdd9
to
cf27bee
Compare
Fix Mime Type Filter using File Extension instead of mimetype description out of METS/MODS.
Because of inconsistent use of MIME Type description in METS mets:fileSec.
For Example:
image/jpg
- which is not an allowed MIME Type according to iana (www.iana.org)see: https://api.deutsche-digitale-bibliothek.de/items/72OLPWCWDFDG7AVAYDDVJGMYRMZWBHDR/source/record