Skip to content

Commit d976b30

Browse files
authored
Merge pull request #7043 from morozov/oracle-quote-password
Quote Oracle user password
2 parents 3c658c8 + 04de1e6 commit d976b30

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)