[wp-trac] [WordPress Trac] #39572: New MIME detection script breaks uploads for .wav files
WordPress Trac
noreply at wordpress.org
Thu Jan 12 21:15:46 UTC 2017
#39572: New MIME detection script breaks uploads for .wav files
----------------------------+-----------------------------
Reporter: kennithnichol | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.7
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
The new MIME detection script introduced in rev=39831 has an unexpected
side-effect which causes the mime type for uploaded .wav files (audio/wav)
to return as 'audio/x-wav' which ultimately causes the upload to fail and
declare the file as a security risk.
/wp-includes/functions.php @ line 2324
This affects the most recent security update pushed out to versions 4.6.2
and 4.7.1
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/functions.php?rev=39831&order=name
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39572>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list