Edit report at https://bugs.php.net/bug.php?id=53035&edit=1
ID: 53035
Comment by: chuck at manchuck dot com
Reported by: stuart at horuskol dot net
Summary: finfo_file() returns incorrect mimetype
Status: 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:
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
Previous Comments:
------------------------------------------------------------------------
[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] [email protected]
no, I meant the file/fileinfo library on your system. "file" and php does not
share the same version.
------------------------------------------------------------------------
[2013-02-25 15:57:31] stepan dot stepanov at gmail dot com
Do you mean version of PHP ?
PHP 5.3.19 (cli)
------------------------------------------------------------------------
[2013-02-25 15:55:23] [email protected]
Which version do you use on this system?
We may need to update the bundled database or library.
------------------------------------------------------------------------
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