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

WordPress Trac noreply at wordpress.org
Mon Jan 7 22:22:08 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:"44443" 44443]:
 {{{
 #!CommitTicketReference repository="" revision="44443"
 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.

 Merges [44438], [44439], [44441], and [44442] to the 4.9 branch.

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

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


More information about the wp-trac mailing list