A bit too restrictive in the security fixes I put a few hours ago
This commit is contained in:
@@ -5,7 +5,7 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$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;
|
||||
tbl_properties.php3; tbl_rename.php3: fixed some security issues.
|
||||
|
||||
|
@@ -64,9 +64,8 @@ if (isset($new_name) && trim($new_name) != '') {
|
||||
}
|
||||
|
||||
// Ensure the target is valid
|
||||
// The functions used below are defined in "common.lib.php3"
|
||||
available_databases('main.php3?lang=' . $lang . '&server=' . $server);
|
||||
if (pmaIsInto($db, $dblist) == -1 || pmaIsInto($target_db, $dblist) == -1) {
|
||||
if (count($dblist) > 0 &&
|
||||
(pmaIsInto($db, $dblist) == -1 || pmaIsInto($target_db, $dblist) == -1)) {
|
||||
exit();
|
||||
}
|
||||
if (MYSQL_INT_VERSION < 32306) {
|
||||
|
@@ -31,9 +31,7 @@ if (isset($new_name) && trim($new_name) != '') {
|
||||
}
|
||||
|
||||
// Ensure the target is valid
|
||||
// The functions used below are defined in "common.lib.php3"
|
||||
available_databases('main.php3?lang=' . $lang . '&server=' . $server);
|
||||
if (pmaIsInto($db, $dblist) == -1) {
|
||||
if (count($dblist) > 0 && pmaIsInto($db, $dblist) == -1) {
|
||||
exit();
|
||||
}
|
||||
if (MYSQL_INT_VERSION < 32306) {
|
||||
|
Reference in New Issue
Block a user