XSS vulnerability
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
|||||||
|
|
||||||
2006-03-16 Marc Delisle <lem9@users.sourceforge.net>
|
2006-03-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/display_tbl.lib.php: undefined variable when a BLOB is NULL
|
* libraries/display_tbl.lib.php: undefined variable when a BLOB is NULL
|
||||||
|
* libraries/Theme_Manager.class.php: XSS vulnerability
|
||||||
|
|
||||||
2006-03-16 Michal Čihař <michal@cihar.com>
|
2006-03-16 Michal Čihař <michal@cihar.com>
|
||||||
* libraries/select_server.lib.php: Move end of fieldset to correct place
|
* libraries/select_server.lib.php: Move end of fieldset to correct place
|
||||||
|
@@ -80,9 +80,9 @@ class PMA_Theme_Manager {
|
|||||||
{
|
{
|
||||||
if ( ! $this->checkTheme($theme)) {
|
if ( ! $this->checkTheme($theme)) {
|
||||||
$GLOBALS['PMA_errors'][] = sprintf($GLOBALS['strThemeNotFound'],
|
$GLOBALS['PMA_errors'][] = sprintf($GLOBALS['strThemeNotFound'],
|
||||||
$theme);
|
PMA_sanitize($theme));
|
||||||
trigger_error(
|
trigger_error(
|
||||||
sprintf($GLOBALS['strThemeNotFound'], $theme),
|
sprintf($GLOBALS['strThemeNotFound'], PMA_sanitize($theme)),
|
||||||
E_USER_WARNING);
|
E_USER_WARNING);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user