1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-06-13 01:50:34 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 4a89078240 fix: align transport password escaping
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
2025-12-12 11:17:24 +00:00
copilot-swe-agent[bot] e8262ce12f fix: avoid double escaping relayhost passwords
Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com>
2025-12-12 11:15:35 +00:00
copilot-swe-agent[bot] e53e4f890f Initial plan 2025-12-12 11:11:50 +00:00
+2 -2
View File
@@ -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'
)); ));
} }
@@ -291,7 +291,7 @@ function transport($_action, $_data = null) {
':destination' => $insert_dest, ':destination' => $insert_dest,
':is_mx_based' => $is_mx_based, ':is_mx_based' => $is_mx_based,
':username' => $username, ':username' => $username,
':password' => str_replace(':', '\:', $password), ':password' => $password,
':active' => $active ':active' => $active
)); ));
} }