|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77346 webm files incorrectly detected as application/octet-stream
Submitted: 2018-12-26 14:31 UTC Modified: 2018-12-26 22:57 UTC
From: kieran at miami-nice dot co dot uk Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 7.3.0 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:
From: kieran at miami-nice dot co dot uk
New email:
PHP Version: OS:


 [2018-12-26 14:31 UTC] kieran at miami-nice dot co dot uk
PHP 7.3.0 is returning different output in some cases for mime_content_type lookups. I believe it comes from changes in or

Test script:

Expected result:
$ php7.3 test.php

Actual result:
$ php7.3 -v
PHP 7.3.0-2+0~20181217092615.24+jessie~1.gbp54e52f (cli) (built: Dec 17 2018 17:27:47) ( NTS )
$ php7.3 test.php

$ php7.2 -v
PHP 7.2.11-2+0~20181015120510.9+jessie~1.gbp8105e0 (cli) (built: Oct 16 2018 03:39:58) ( NTS )
$ php7.2 test.php

$ php7.1 -v
PHP 7.1.23-2+0~20181017082658.9+jessie~1.gbpab65a0 (cli) (built: Oct 17 2018 12:02:25) ( NTS )
$ php7.1 test.php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-26 22:57 UTC]
-Status: Open +Status: Verified
 [2018-12-26 22:57 UTC]
This regression has been introduced when porting libmagic 5.33[1].

[1] <;a=commit;h=e2182a1ba7cdd3c915cf29cd8367a6e02a0c10c8>
 [2018-12-28 12:28 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #77346 webm files incorrectly detected as application/octet-stream
 [2018-12-28 12:28 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 00:01:29 2024 UTC