#31939 [Asn->Csd]: Test for Bug 30967 uses hardcoded login
| From: | georg@php.net | Date: | Fri, 25 Feb 2005 08:44:02 +0000 |
| Subject: | #31939 [Asn->Csd]: Test for Bug 30967 uses hardcoded login | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74536@lists.php.net to get a copy of this message | ||
ID: 31939
Updated by: georg@php.net
Reported By: webmaster at ragnarokonline dot de
-Status: Assigned
+Status: Closed
Bug Type: MySQLi related
Operating System: *
PHP Version: 5.x
Assigned To: georg
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-02-21 22:37:14] sniper@php.net
Assigning to da author of the test and extension. :)
------------------------------------------------------------------------
[2005-02-21 22:35:45] sniper@php.net
The version isn't irrelevant. It's 5.x if anything. (mysqli does not
exist in PHP 4)
------------------------------------------------------------------------
[2005-02-11 22:56:03] webmaster at ragnarokonline dot de
changing version to irrelevant ...
------------------------------------------------------------------------
[2005-02-11 22:43:32] webmaster at ragnarokonline dot de
Description:
------------
The login-data in the MySQLi-test for Bug 30967 is trying to login with
a hardcoded username/password-combo.
The fix is simple:
find in ext/mysqli/tests/bug30967.phpt:
$mysql = new mysql2($host, "root", "", "test");
and replace it with:
$mysql = new mysql2($host, $user, $passwd, "test");
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31939&edit=1