From 490e1c5001f01e4365141fcb0f8b0ae90baacf77 Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 9 Oct 2017 20:31:08 +0200 Subject: [PATCH] [Web] Escape : in relayhosts --- data/web/inc/functions.relayhost.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.relayhost.inc.php b/data/web/inc/functions.relayhost.inc.php index 249dacc3..233ca0ad 100644 --- a/data/web/inc/functions.relayhost.inc.php +++ b/data/web/inc/functions.relayhost.inc.php @@ -27,7 +27,7 @@ function relayhost($_action, $_data = null) { $stmt->execute(array( ':hostname' => $hostname, ':username' => $username, - ':password' => $password, + ':password' => str_replace(':', '\:', $password), ':active' => '1' )); }