[wp-trac] [WordPress Trac] #14244: Upload file types should be checked BEFORE uploading.

WordPress Trac noreply at wordpress.org
Sat Apr 23 14:13:06 UTC 2016


#14244: Upload file types should be checked BEFORE uploading.
-------------------------------------+-----------------------------
 Reporter:  ipstenu                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by polevaultweb):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 Patch added that tells plupload the allowed mime types, and throws the
 error early if the file upload is not allowed. To test, the file would
 need to be dragged and dropped onto uploader, as plupload restricts the
 selection of those file types with this implementation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14244#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list