mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
DbTool: Do not replace '%' with '%%' in method grantPrivileges
(cherry picked from commit e9eeb030a6da50a8244f9939d91c2f7c38db676b) Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
parent
099f8e4126
commit
0b4390411c
@ -583,7 +583,7 @@ class DbTool
|
|||||||
$to = sprintf(
|
$to = sprintf(
|
||||||
' TO %s@%s',
|
' TO %s@%s',
|
||||||
$this->quoteIdentifier($username),
|
$this->quoteIdentifier($username),
|
||||||
str_replace('%', '%%', $this->quoteIdentifier($host))
|
$this->quoteIdentifier($host)
|
||||||
);
|
);
|
||||||
|
|
||||||
$dbPrivileges = array();
|
$dbPrivileges = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user