Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-04-05 18:22:13 +0400
committerMarc Delisle <marc@infomarc.info>2012-04-05 18:22:13 +0400
commit7dbec097494ef0c5300342f3166861bc355015dc (patch)
treeb49bce1bd96ebe3168baa93e678532679dd2abe9 /server_privileges.php
parentba69fa26b7cb8c316cc950bb4df916b8a72a9d51 (diff)
parent7656d8879991caf47f67a2eb948cc5902ccb7df7 (diff)
Merge branch 'QA_3_5'
Diffstat (limited to 'server_privileges.php')
-rw-r--r--server_privileges.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_privileges.php b/server_privileges.php
index afecb00b61..53c4ed396f 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -1156,7 +1156,7 @@ if (isset($_REQUEST['adduser_submit']) || isset($_REQUEST['change_copy'])) {
}
$q = 'GRANT ALL PRIVILEGES ON '
- . PMA_backquote(PMA_sqlAddSlashes($username)) . '.* TO \''
+ . PMA_backquote(PMA_escape_mysql_wildcards(PMA_sqlAddSlashes($username))) . '.* TO \''
. PMA_sqlAddSlashes($username) . '\'@\'' . PMA_sqlAddSlashes($hostname) . '\';';
$sql_query .= $q;
if (! PMA_DBI_try_query($q)) {