[wp-trac] [WordPress Trac] #54193: PHP fileinfo extention identifies JSON as text/plain; wp_check_filetype_and_ext then prevents upload

WordPress Trac noreply at wordpress.org
Tue Sep 28 08:54:07 UTC 2021


#54193: PHP fileinfo extention identifies JSON as text/plain;
wp_check_filetype_and_ext then prevents upload
-------------------------------------+------------------------------
 Reporter:  dashifen                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------
Changes (by aezazshekh):

 * Attachment "54193.patch" added.

 Added application/json to this list

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54193>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list