Issue #2357311 by penyaskito: Fixed Follow-up to SA-CORE-2014-005 (tests don't work correctly on non-MySQL databases).

8.0.x
Alex Pott 2014-10-16 10:22:08 +01:00
parent 19b32a3ab4
commit 88dcf91f2f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class QueryTest extends DatabaseTestBase {
public function testArrayArgumentsSQLInjection() {
// Attempt SQL injection and verify that it does not work.
$condition = array(
"1 ;INSERT INTO {test} SET name = 'test12345678'; -- " => '',
"1 ;INSERT INTO {test} (name) VALUES ('test12345678'); -- " => '',
'1' => '',
);
try {