The branch, master has been updated
via 6a422caf527226740155c7e3682f2f3c61a85696 (commit)
from 44fd261fa64da13bfe363ea01cb79219849aee10 (commit)
- Log -----------------------------------------------------------------
commit 6a422caf527226740155c7e3682f2f3c61a85696
Author: Michal Čihař <[email protected]>
Date: Mon Jun 27 14:46:04 2011 +0200
Proper escaping while checking for table (bug#3323066)
-----------------------------------------------------------------------
Summary of changes:
libraries/database_interface.lib.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/database_interface.lib.php
b/libraries/database_interface.lib.php
index 2625fe9..d9f19f3 100644
--- a/libraries/database_interface.lib.php
+++ b/libraries/database_interface.lib.php
@@ -383,7 +383,7 @@ function PMA_DBI_get_tables_full($database, $table = false,
$tbl_is_group = fals
if ($table || (true === $tbl_is_group)) {
$sql = 'SHOW TABLE STATUS FROM '
. PMA_backquote($each_database)
- .' LIKE \'' .
PMA_escape_mysql_wildcards(PMA_sqlAddSlashes($table)) . '%\'';
+ .' LIKE \'' .
PMA_escape_mysql_wildcards(PMA_sqlAddSlashes($table, true)) . '%\'';
} else {
$sql = 'SHOW TABLE STATUS FROM '
. PMA_backquote($each_database);
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git