mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-09 06:23:33 +00:00
fix: avoid double escaping relayhost passwords
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ function relayhost($_action, $_data = null) {
|
|||||||
$stmt->execute(array(
|
$stmt->execute(array(
|
||||||
':hostname' => $hostname,
|
':hostname' => $hostname,
|
||||||
':username' => $username,
|
':username' => $username,
|
||||||
':password' => str_replace(':', '\:', $password),
|
':password' => $password,
|
||||||
':active' => '1'
|
':active' => '1'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user