Skip to content
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] Validate file types. #2340

Open
rosiel opened this issue Aug 9, 2024 · 0 comments
Open

[FEATURE] Validate file types. #2340

rosiel opened this issue Aug 9, 2024 · 0 comments
Labels
Type: feature request a proposal for a new feature in the software (should be justified by a ‘use case’)

Comments

@rosiel
Copy link
Member

rosiel commented Aug 9, 2024

Overview of feature request

We've had the experience of uploading files that were not the type their extension claimed they were.

  1. Install the File Mime Validator module https://www.drupal.org/project/file_mime_validator
  2. Provide a hook so we can validate incoming derivatives too, since the validator only works on the upload widget.

What kind of user is the feature intended for?

Repository managers
Admins

What inspired the request?

reading the PREMIS Data Dictionary.

What existing behavior do you want changed?

We don't validate files!

Any brand new behavior do you want to add to Islandora?

Validate all files!

Any related open or closed issues to this feature request?

not that i can find

@rosiel rosiel added the Type: feature request a proposal for a new feature in the software (should be justified by a ‘use case’) label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: feature request a proposal for a new feature in the software (should be justified by a ‘use case’)
Projects
None yet
Development

No branches or pull requests

1 participant