From fa6cfecadfcf30eac4e865af04ef1b26484b5452 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 12 Dec 2007 09:30:20 +0000 Subject: [PATCH] fixed bug: could not delete databases with %XX in name, due to wrong urldecode() --- libraries/mult_submits.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/mult_submits.inc.php b/libraries/mult_submits.inc.php index 953afbda6..93dcda891 100644 --- a/libraries/mult_submits.inc.php +++ b/libraries/mult_submits.inc.php @@ -151,7 +151,7 @@ if (!empty($submit_mult) && !empty($what)) { break; case 'drop_db': $full_query .= 'DROP DATABASE ' - . PMA_backquote(htmlspecialchars(urldecode($sval))) + . PMA_backquote(htmlspecialchars($sval)) . ';
'; $reload = 1; break; @@ -301,7 +301,7 @@ elseif ($mult_btn == $strYes) { case 'drop_db': PMA_relationsCleanupDatabase($selected[$i]); $a_query = 'DROP DATABASE ' - . PMA_backquote(urldecode($selected[$i])); + . PMA_backquote($selected[$i]); $reload = 1; $run_parts = TRUE; $rebuild_database_list = true;