Bug #79534 [Opn->Dup]: Duplicate Mimetype
| From: | requinix@php.net | Date: | Tue, 28 Apr 2020 23:33:52 +0000 |
| Subject: | Bug #79534 [Opn->Dup]: Duplicate Mimetype | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226815@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79534&edit=1
ID: 79534
Updated by: requinix@php.net
Reported by: grussellmd at gmail dot com
Summary: Duplicate Mimetype
-Status: Open
+Status: Duplicate
Type: Bug
Package: *General Issues
Operating System: Linux Debian
PHP Version: 7.4.5
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #77784
Previous Comments:
------------------------------------------------------------------------
[2020-04-28 21:37:32] grussellmd at gmail dot com
File was created using LibreOffice in Ubuntu and saved as xlsx Excel Spreadsheet
------------------------------------------------------------------------
[2020-04-28 21:23:47] grussellmd at gmail dot com
Description:
------------
At least for one mime type I get the wrong format, it's duplicated
Test script:
---------------
$finfo = new \finfo(FILEINFO_MIME_TYPE, null);
echo $finfo->file('/var/www/html/t2.xlsx');
Expected result:
----------------
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Actual result:
--------------
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79534&edit=1