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