A bit too restrictive in the security fixes I put a few hours ago

This commit is contained in:
Loïc Chapeaux
2001-09-26 06:02:36 +00:00
parent 435dfbbe7e
commit 910721944f
3 changed files with 4 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2001-09-25 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2001-09-26 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/common.lib.php3; left.php3; tbl_move_copy.php3; * libraries/common.lib.php3; left.php3; tbl_move_copy.php3;
tbl_properties.php3; tbl_rename.php3: fixed some security issues. tbl_properties.php3; tbl_rename.php3: fixed some security issues.

View File

@@ -64,9 +64,8 @@ if (isset($new_name) && trim($new_name) != '') {
} }
// Ensure the target is valid // Ensure the target is valid
// The functions used below are defined in "common.lib.php3" if (count($dblist) > 0 &&
available_databases('main.php3?lang=' . $lang . '&server=' . $server); (pmaIsInto($db, $dblist) == -1 || pmaIsInto($target_db, $dblist) == -1)) {
if (pmaIsInto($db, $dblist) == -1 || pmaIsInto($target_db, $dblist) == -1) {
exit(); exit();
} }
if (MYSQL_INT_VERSION < 32306) { if (MYSQL_INT_VERSION < 32306) {

View File

@@ -31,9 +31,7 @@ if (isset($new_name) && trim($new_name) != '') {
} }
// Ensure the target is valid // Ensure the target is valid
// The functions used below are defined in "common.lib.php3" if (count($dblist) > 0 && pmaIsInto($db, $dblist) == -1) {
available_databases('main.php3?lang=' . $lang . '&server=' . $server);
if (pmaIsInto($db, $dblist) == -1) {
exit(); exit();
} }
if (MYSQL_INT_VERSION < 32306) { if (MYSQL_INT_VERSION < 32306) {