|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80594 MP3 file detected as application/x-font-gdos
Submitted: 2021-01-05 15:48 UTC Modified: -
Avg. Score:4.6 ± 0.7
Reproduced:8 of 8 (100.0%)
Same Version:7 (87.5%)
Same OS:6 (75.0%)
From: Assigned:
Status: Open Package: Filesystem function related
PHP Version: 7.4.14RC1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2021-01-05 15:48 UTC]
I'm forwarding this from another ticket[1].

A sample MP3 file[2] is erroneously detected as
application/x-font-gdos instead of audio/mpeg with PHP-7.4, but
not with PHP-7.3 nor PHP-8.0.

[1] <>
[2] <>

Test script:


Expected result:
string(10) "audio/mpeg"

Actual result:
string(23) "application/x-font-gdos"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 10:01:27 2023 UTC