Ticket #2680 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Missing mime types for upload

Reported by: mlanglois Assigned to: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.2
Severity: normal Keywords:
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

04/21/06 20:10:42 changed by skeltoac

  • milestone set to 2.1.

Counter suggestions, because new options are always the last resort:

* Institute an "upload_anything" capability much like "unfiltered_html", or

* Leave it alone because it's already pluggable via the upload_mimes filter.

04/22/06 14:10:39 changed by davidhouse

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.

04/22/06 16:11:09 changed by westi

I agree this is plugin territory.

So much so that I wrote one! - http://blog.ftwr.co.uk/wordpress/mime-config/

12/01/06 02:54:14 changed by matt

  • status changed from new to closed.
  • resolution set to fixed.