-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rework MIME Type handling #227
Comments
Also |
And what if mimetypes overlap, e.g. when multiple plugins include an extension in one of their mime types. Probably also not handled here. |
So I found the best possibility is just to use the extension as is, if no mimetype is found. Makes more sense than failing IMHO. A perfect match should always be allowed, only a fallback should be to compare possible Mimetype agreement. |
Also, the CTDParser should be updated to read the "is_executable" tag for input files. Could help in putting some restrictions on the mine types even if no extension in the CTD is specified |
There are some points to consider:
The text was updated successfully, but these errors were encountered: