This commit is contained in:
Alexander M. Turek
2002-11-18 12:26:05 +00:00
parent 2f1481bd58
commit 32032a1da6
2 changed files with 12 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* db_details.php3, read_dump.php3, tbl_query_box.php3, lang/*.inc.php3:
Feature #506106: Read compressed dump.
* lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone).
* libraries/grab_globals.lib.php3: Fixed bug #638548 (table name with a
quote).
2002-11-16 Marc Delisle <lem9@users.sourceforge.net>
* libraries/build_dump.lib.php3: fix for old MySQL, thanks to

View File

@@ -46,5 +46,15 @@ if (!defined('PMA_GRAB_GLOBALS_INCLUDED')) {
unset($goto);
} // end if
// Strip slahes from $db / $table values
if (get_magic_quotes_gpc()) {
if (isset($db)) {
$db = stripslashes($db);
}
if (isset($table)) {
$table = stripslashes($table);
}
}
} // $__PMA_GRAB_GLOBALS_LIB__
?>