WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#39572 closed defect (bug) (duplicate)

New MIME detection script breaks uploads for .wav files

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

Description

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

Change History (2)

#1 @Ipstenu
3 years ago

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

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

#2 @SergeyBiryukov
3 years ago

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