[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(
|
$stmt->execute(array(
|
||||||
':hostname' => $hostname,
|
':hostname' => $hostname,
|
||||||
':username' => $username,
|
':username' => $username,
|
||||||
':password' => $password,
|
':password' => str_replace(':', '\:', $password),
|
||||||
':active' => '1'
|
':active' => '1'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user