Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#39572 closed defect (bug) (duplicate)

New MIME detection script breaks uploads for .wav files

Reported by: kennithnichol's profile kennithnichol Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: Media Keywords:
Focuses: administration Cc:


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

Change History (2)

#1 @Ipstenu
7 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Thank you! We're already tracking this in #39550 :)

#2 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.