mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-31 16:07:09 +00:00
fix: avoid double escaping relayhost passwords
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
This commit is contained in:
co-authored by
DerLinkman
parent
e53e4f890f
commit
e8262ce12f
@@ -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