php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57933 Wrong table type used in phpinfo output
Submitted: 2007-11-28 16:58 UTC Modified: 2012-07-28 22:07 UTC
From: selsky at columbia dot edu Assigned: felipe (profile)
Status: Closed Package: Filesystem function related
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: selsky at columbia dot edu
New email:
PHP Version: OS:

 

 [2007-11-28 16:58 UTC] selsky at columbia dot edu
Description:
------------
On the phpinfo page, the output is a table header instead of a table row and the rest of the core extensions use when they only have a single row of output.

Reproduce code:
---------------
--- fileinfo.c~ 2006-11-07 16:18:51.000000000 -0500
+++ fileinfo.c  2007-11-28 16:53:04.799707000 -0500
@@ -240,7 +240,7 @@
 PHP_MINFO_FUNCTION(fileinfo)
 {
        php_info_print_table_start();
-       php_info_print_table_header(2, "fileinfo support", "enabled");
+       php_info_print_table_row(2, "fileinfo support", "enabled");
        php_info_print_table_end();
 }
 /* }}} */



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-28 22:05 UTC] felipe@php.net
-Type: Feature/Change Request +Type: Bug -Package: Fileinfo +Package: Filesystem function related
 [2012-07-28 22:07 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=068fc008c6828c2e045064a831ecb90136c6365b
Log: - Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
 [2012-07-28 22:07 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 [2012-07-28 22:07 UTC] felipe@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:23 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=068fc008c6828c2e045064a831ecb90136c6365b
Log: - Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
 [2014-10-07 23:34 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=068fc008c6828c2e045064a831ecb90136c6365b
Log: - Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC