Remove mime-db and use a small common set of mime-types #1317
Labels
c: bug
Something isn't working
c: locale
Permutes locale definitions
m: system
Something is referring to the system module
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Clear and concise description of the problem
The mime-db is very large and most of the extensions are never used by anyone.
Also, not all mime-db entries pass the validator.js#isMimeType check.
Suggested solution
Replace mime-db with a custom/common/useful set of mime types
Alternative
Filter all mime-db entries to ensure they satisfy the validator.js#isMimeType check.
Additional context
No response
The text was updated successfully, but these errors were encountered: