Opened 19 years ago
Closed 18 years ago
#2680 closed defect (bug) (fixed)
Missing mime types for upload
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.0.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Several MIME types are missing from the list in admin-functions.php (e.g. ac3 mpa flv...). The result is an error message when uploading such a file.
The list should obviously updated, but the problem will probably occur again in the future. Hence 2 suggestions: (1) add an option in the admin panel as to whether unrecognized filetypes should be accepted for upload; (2) make the list of mime types editable in the admin panel.
I'm sure the first suggestion could easily be implemented in the next release.
Change History (4)
#2
@
19 years ago
Allowing uploads of any filetype is probably bad security pratice, so I don't think an option is a good idea. A capability might be tucked-away enough so that only the people that know what they're doing can mess with it, though.
I'd like to see a plugin that allows editing of mimes.
#3
@
19 years ago
I agree this is plugin territory.
So much so that I wrote one! - http://blog.ftwr.co.uk/wordpress/mime-config/
Counter suggestions, because new options are always the last resort: