Skip to content

Fix for wrong mime type mismatch detection#96

Open
pawelfloryan wants to merge 3 commits intodevelopfrom
467-mime-false-positives-fix
Open

Fix for wrong mime type mismatch detection#96
pawelfloryan wants to merge 3 commits intodevelopfrom
467-mime-false-positives-fix

Conversation

@pawelfloryan
Copy link
Copy Markdown
Contributor

Since when dealing with multiple extensions related to a single mime type there are multiple rows for each extension, the query will flag a mismatch if the extension was different from the first extension found for the mime type in the valid_mime_types table, even though the same extension for that mime type could be in some other row.

This approach doesn't change the db schema and instead works on a query which separates aggregated extensions between the mime types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant