Another case of XSS

This commit is contained in:
Herman van Rink
2011-07-07 14:43:45 -04:00
committed by Marc Delisle
parent a0823be05a
commit 4bd27166c3

View File

@@ -69,7 +69,7 @@ if ($multi_tables) {
$tbl_list .= (empty($tbl_list) ? '' : ', ') $tbl_list .= (empty($tbl_list) ? '' : ', ')
. PMA_backquote($table); . PMA_backquote($table);
} }
echo '<strong>'. __('Show tables') . ': ' . $tbl_list . '</strong>' . "\n"; echo '<strong>'. __('Show tables') . ': ' . htmlspecialchars($tbl_list) . '</strong>' . "\n";
echo '<hr />' . "\n"; echo '<hr />' . "\n";
} // end if } // end if