We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb7505 commit 47c6b3bCopy full SHA for 47c6b3b
ext/pdo_pgsql/tests/gh12423.phpt
@@ -19,7 +19,7 @@ if (!$user) {
19
$user = $match[1] ?? '';
20
}
21
if (!$password) {
22
- preg_match('/password=(.*?) /', $dsnWithCredentials, $match);
+ preg_match('/password=(.*?)$/', $dsnWithCredentials, $match);
23
$password = $match[1] ?? '';
24
25
$dsn = str_replace(" user={$user} password={$password}", '', $dsnWithCredentials);
0 commit comments