Bug #53035 [Fbk->NoF]: finfo_file() returns incorrect mimetype

From: Date: Tue, 15 Oct 2013 11:54:26 +0000
Subject: Bug #53035 [Fbk->NoF]: finfo_file() returns incorrect mimetype
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182177@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53035&edit=1

 ID:               53035
 Updated by:       php-bugs@lists.php.net
 Reported by:      stuart at horuskol dot net
 Summary:          finfo_file() returns incorrect mimetype
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Filesystem function related
 Operating System: Linux/Ubuntu 10.04
 PHP Version:      Irrelevant
 Private report:   N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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.

------------------------------------------------------------------------
[2013-02-25 15:57:31] stepan dot stepanov at gmail dot com

Do you mean version of PHP ?

PHP 5.3.19 (cli)

------------------------------------------------------------------------


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


Thread (23 messages)

« previous php.bugs (#182177) next »