[Web] Escape : in relayhosts
This commit is contained in:
parent
bf2be8410d
commit
490e1c5001
@ -27,7 +27,7 @@ function relayhost($_action, $_data = null) {
|
||||
$stmt->execute(array(
|
||||
':hostname' => $hostname,
|
||||
':username' => $username,
|
||||
':password' => $password,
|
||||
':password' => str_replace(':', '\:', $password),
|
||||
':active' => '1'
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user