[wp-trac] [WordPress Trac] #40175: Upload Validation / MIME Handling

WordPress Trac noreply at wordpress.org
Fri Dec 21 18:18:55 UTC 2018


#40175: Upload Validation / MIME Handling
-------------------------------------------------+-------------------------
 Reporter:  blobfolio                            |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.1
Component:  Media                                |     Version:  4.7.3
 Severity:  major                                |  Resolution:
 Keywords:  has-unit-tests has-patch needs-      |     Focuses:
  testing early                                  |  administration
-------------------------------------------------+-------------------------

Comment (by KZeni):

 I can also report that I had a small & very typical CSV unable to be
 uploaded to a site's Media Library running the current WordPress version
 (5.0.2) with "Sorry, this file type is not permitted for security
 reasons." shown as the reason. I even have a plugin which specifically has
 CSV files set to be allowed for upload.

 Implementing https://wordpress.org/plugins/blob-mimes/ resolved the issue
 for now (thanks @blobfolio !), but I'd imagine this should be addressed in
 the WordPress core.

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


More information about the wp-trac mailing list