mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Database name is LIKE pattern
This commit is contained in:
@@ -111,7 +111,7 @@ if ($_POST) {
|
||||
if ($old_pass != "") {
|
||||
$row["hashed"] = true;
|
||||
}
|
||||
$grants[DB != "" && !isset($_GET["host"]) ? idf_escape($_GET["db"]) . ".*" : ""] = array();
|
||||
$grants[DB != "" && !isset($_GET["host"]) ? idf_escape(addcslashes(DB, "%_")) . ".*" : ""] = array();
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user