Skip to content

Commit f9635fd

Browse files
committed
Merge branch 'develop' of git.ispconfig.org:ispconfig/ispconfig3 into develop
2 parents ba58f0a + 91a7ecb commit f9635fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ public function configure_dovecot() {
14581458
}
14591459

14601460
$config_dir = $conf['postfix']['config_dir'];
1461-
$quoted_config_dir = preg_quote($config_dir, '/');
1461+
$quoted_config_dir = preg_quote($config_dir, '|');
14621462
$postfix_version = `postconf -d mail_version 2>/dev/null`;
14631463
$postfix_version = preg_replace( '/mail_version\s*=\s*(.*)\s*/', '$1', $postfix_version );
14641464

@@ -1496,7 +1496,7 @@ public function configure_dovecot() {
14961496
foreach ($options as $value) {
14971497
$value = trim($value);
14981498
if ($value == '') continue;
1499-
if (preg_match("|check_recipient_access\s+proxy:mysql:${config_dir}/mysql-verify_recipients.cf|", $value)) {
1499+
if (preg_match("|check_recipient_access\s+proxy:mysql:${quoted_config_dir}/mysql-verify_recipients.cf|", $value)) {
15001500
continue;
15011501
}
15021502
$new_options[] = $value;

0 commit comments

Comments
 (0)