From e9eeb030a6da50a8244f9939d91c2f7c38db676b Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Thu, 15 Dec 2016 15:12:19 +0100 Subject: [PATCH] DbTool: Do not replace '%' with '%%' in method grantPrivileges fixes #13615 --- modules/setup/library/Setup/Utils/DbTool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/library/Setup/Utils/DbTool.php b/modules/setup/library/Setup/Utils/DbTool.php index 0d0ebfe9e..2b493af69 100644 --- a/modules/setup/library/Setup/Utils/DbTool.php +++ b/modules/setup/library/Setup/Utils/DbTool.php @@ -583,7 +583,7 @@ class DbTool $to = sprintf( ' TO %s@%s', $this->quoteIdentifier($username), - str_replace('%', '%%', $this->quoteIdentifier($host)) + $this->quoteIdentifier($host) ); $dbPrivileges = array();