Edit report at https://bugs.php.net/bug.php?id=53035&edit=1
ID: 53035
Comment by: max451f at gmail dot com
Reported by: stuart at horuskol dot net
Summary: finfo_file() returns incorrect mimetype
Status: No Feedback
Type: Bug
Package: Filesystem function related
Operating System: Linux/Ubuntu 10.04
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Experienced same problem.
PHP 5.5.3-1ubuntu2 (cli) (built: Oct 9 2013 14:49:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
Linux 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Previous Comments:
------------------------------------------------------------------------
[2013-10-15 11:54:26] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2013-05-01 20:55:24] chuck at manchuck dot com
We noticed that this bug is present in php 5.4.10 on windows. We do not have the
Suhosin-Patch installed:
PHP 5.4.10 (cli) (built: Dec 19 2012 20:33:35)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
We also have the problem when a csv file is uploaded with Seven starting a line
------------------------------------------------------------------------
[2013-03-25 17:56:54] stepan dot stepanov at gmail dot com
Is this bug stil alive ?
Does it have any change to be fixed ?
We really need it to filter uploaded files, obviously for security reasons.
Should we switch to "file" command of OS or make it sence to wait for a fix ?
------------------------------------------------------------------------
[2013-02-26 16:48:08] stepan dot stepanov at gmail dot com
PHP fileinfo library = 1.0.5-dev
------------------------------------------------------------------------
[2013-02-25 18:37:09] pajoye@php.net
no, I meant the file/fileinfo library on your system. "file" and php does not
share the same version.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=53035
--
Edit this bug report at https://bugs.php.net/bug.php?id=53035&edit=1