[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_3, updated. RELEASE_3_3_10-7-g7ebe311

Herman van Rink helmo at users.sourceforge.net
Tue Apr 26 16:30:11 CEST 2011


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




More information about the Git mailing list