diff --git a/ChangeLog b/ChangeLog index af7520aa8..8a5e40361 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-05-12 Michal Čihař + * libraries/footer.inc.php: Escape user input to avoid XSS. + 2006-05-06 Michal Čihař * Documentation.html: Describe better regullar expressions in hide_db (patch #1482049, thanks to Isaac Bennetch - ibennetch). diff --git a/libraries/footer.inc.php b/libraries/footer.inc.php index 8fefe120e..de7acbea5 100644 --- a/libraries/footer.inc.php +++ b/libraries/footer.inc.php @@ -25,7 +25,7 @@ if (! isset($GLOBALS['no_history']) && isset($GLOBALS['db']) $table = isset($GLOBALS['table']) ? $GLOBALS['table'] : ''; ?> // updates current settings if (window.parent.setAll) { - window.parent.setAll('', '', '', '', ''); + window.parent.setAll('', '', '', '', ''); } @@ -54,9 +54,9 @@ if (! isset($GLOBALS['no_history']) && empty($GLOBALS['error_message'])) { // set current db, table and sql query in the querywindow if (window.parent.refreshLeft) { window.parent.reload_querywindow( - "", - "", - ""); + "", + "", + ""); }