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$
|
$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.
|
||||||
|
|
||||||
|
@@ -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) {
|
||||||
|
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user