php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62177 Test Bug - finfo_file_regex.phpt
Submitted: 2012-05-29 01:24 UTC Modified: 2012-05-29 14:45 UTC
From: mattficken@php.net Assigned: ab (profile)
Status: Closed Package: Testing related
PHP Version: 5.3.13 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mattficken@php.net
New email:
PHP Version: OS:

 

 [2012-05-29 01:24 UTC] mattficken@php.net
Description:
------------
New test expects a slightly different value than what php on windows returns.

This may be due to php on Windows using libfileinfo 1.0.5-dev. It may be better to 
upgrade that library. Until then, the attached patch will fix this test.


Actual result:
--------------
002+ string(10) "text/plain"
002- string(28) "text/plain; charset=us-ascii"

Patches

finfo_file_regex.patch.txt (last revision 2012-05-29 01:24 UTC by mattficken)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-29 14:44 UTC] ab@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dbc727373c6b9a086a4b3d28608acb6fadf7a8fd
Log: Fix bug #62177 Test Bug - finfo_file_regex.phpt
 [2012-05-29 14:45 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-05-29 14:45 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2014-10-07 23:24 UTC] stas@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=dbc727373c6b9a086a4b3d28608acb6fadf7a8fd
Log: Fix bug #62177 Test Bug - finfo_file_regex.phpt
 [2014-10-07 23:35 UTC] stas@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=dbc727373c6b9a086a4b3d28608acb6fadf7a8fd
Log: Fix bug #62177 Test Bug - finfo_file_regex.phpt
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC