Skip to content

Commit 04de1e6

Browse files
committed
Quote Oracle user password
1 parent fee8a1e commit 04de1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/OracleSchemaManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function createDatabase(string $database): void
270270
$params = $this->connection->getParams();
271271

272272
if (isset($params['password'])) {
273-
$statement .= ' IDENTIFIED BY ' . $params['password'];
273+
$statement .= ' IDENTIFIED BY ' . $this->connection->quoteSingleIdentifier($params['password']);
274274
}
275275

276276
$this->connection->executeStatement($statement);

0 commit comments

Comments
 (0)