The branch, QA_3_3 has been updated
       via  7ebe311433e7396e0623ac6f00fe48d095d2edb7 (commit)
      from  2928a557a737d98afe4f7e1ab682fd330d788cf4 (commit)


- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 server_privileges.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server_privileges.php b/server_privileges.php
index 44e9be7..3be2353 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -117,8 +117,8 @@ function PMA_RangeOfUsers($initial = '')
     // strtolower() is used because the User field
     // might be BINARY, so LIKE would be case sensitive
     if (!empty($initial)) {
-        $ret = " WHERE `User` LIKE '" . $initial . "%'"
-            . " OR `User` LIKE '" . strtolower($initial) . "%'";
+        $ret = " WHERE `User` LIKE '" . PMA_sqlAddslashes($initial) . "%'"
+            . " OR `User` LIKE '" . PMA_sqlAddslashes(strtolower($initial)) . 
"%'";
     } else {
         $ret = '';
     }


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to