[Web] Escape : in relayhosts

master
andryyy 2017-10-09 20:31:08 +02:00
parent bf2be8410d
commit 490e1c5001
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function relayhost($_action, $_data = null) {
$stmt->execute(array(
':hostname' => $hostname,
':username' => $username,
':password' => $password,
':password' => str_replace(':', '\:', $password),
':active' => '1'
));
}