[wp-trac] [WordPress Trac] #46775: Cannot allow multiple MIME for same file extension

WordPress Trac noreply at wordpress.org
Tue Apr 2 15:55:20 UTC 2019

#46775: Cannot allow multiple MIME for same file extension
 Reporter:  thedanhealy  |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  5.1
 Severity:  major        |   Keywords:
  Focuses:               |
 Using 5.1.1, .zip are being detected as application/zip on my PC, but the
 same file (exact same) is being detected as application/x-zip-compressed
 on another PC. I've attempted to DISABLE_UNFILTERED_UPLOADS and
 temporarily removed the is_super_admin constraint from wp-
 includes/functions.php but still no luck. I also wasn't able to add this
 as an array without throwing a PHP exception.

 This prevents me from allowing users to upload .zip from their PC. It's
 not appropriate for me to ask the user to make any changes to their PC.

 Any advice?

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

More information about the wp-trac mailing list