[BUGFIX] MIME Type Filter#1419
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
|
Thank you! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1419 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. |
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