Make WordPress Core

Opened 8 years ago

Last modified 4 years ago

#40624 new defect (bug)

MP3 files with ID3v2 information can't be uploaded

Reported by: sophia4wp's profile sophia4wp Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Upload Keywords:
Focuses: Cc:

Description

When I upload an mp3 to the Media Library that has any ID3v2 information, I receive an error, "Sorry, this file type is not permitted for security reasons.".

When I removed the ID3v2 information, and solely had ID3v1 information, the upload completed successfully.

mp3 files are an allowed file type in my WP installation. ALLOW_UNFILTERED_UPLOADS is false.

Change History (3)

#1 @johnbillion
8 years ago

  • Keywords reporter-feedback added

Thanks for the report @sophia4wp.

Could you link us to an MP3 which exhibits the problem, please?

#2 @ChrisHardie
7 years ago

I experienced this today on WordPress 4.9.1 multisite. Here's an MP3 file that yielded the "not permitted" error when I attempted to upload it:

https://www.dropbox.com/s/5q3yloqfnvz2oa9/20171215-bill-engle-interview.mp3?dl=0

Using the id3lib utilities on OS X, I stripped the ID3 tags from the file using id3convert --strip and it yielded this file, which then successfully uploaded to the media library:

https://www.dropbox.com/s/pqzdpmb3ngd1zcd/20171215-bill-engle-interview-untagged.mp3?dl=0

Let me know if I can provide other useful information.

#3 @hellofromTonya
4 years ago

  • Keywords reporter-feedback removed
Note: See TracTickets for help on using tickets.