[wp-trac] [WordPress Trac] #45615: CSV Mime Type fails upload

WordPress Trac noreply at wordpress.org
Mon Jan 7 20:48:01 UTC 2019


#45615: CSV Mime Type fails upload
--------------------------------------+------------------------
 Reporter:  Kloon                     |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.0.3
Component:  Upload                    |     Version:  5.0.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by joemcgill):

 In [changeset:"44438" 44438]:
 {{{
 #!CommitTicketReference repository="" revision="44438"
 Upload: Fix upload failures of common text file types.

 This adds some special case handling in 'wp_check_filetype_and_ext()' that
 prevents some common file types from being blocked based on mismatched
 MIME checks, which were made more strict in WordPress 5.0.1.

 Props Kloon, birgire, tellyworth, joemcgill.
 See #45615.
 }}}

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


More information about the wp-trac mailing list