Merge branch 'MAINT_3_5_2' into QA_3_5

This commit is contained in:
Marc Delisle 2012-08-12 09:17:19 -04:00
commit cdf9bf3b83
3 changed files with 7 additions and 2 deletions

View File

@ -132,6 +132,9 @@ phpMyAdmin - ChangeLog
- bug #3497151 [interface] Duplicate inline query edit box
- bug #3504567 [mime] Description of the transformation missing in the tooltip
3.4.11.1 (2012-08-12)
- [security] Fixed XSS vulnerabilities, see PMASA-2012-4
3.4.11.0 (2012-04-14)
- bug #3486970 [import] Exception on XML import
- bug #3488777 [navi] $cfg['ShowTooltipAliasTB'] and blank names in navigation

View File

@ -276,7 +276,7 @@ $(document).ready(function() {
/**
* @var question String containing the question to be asked for confirmation
*/
var question = 'TRUNCATE ' + curr_table_name;
var question = 'TRUNCATE ' + escapeHtml(curr_table_name);
$this_anchor.PMA_confirm(question, $this_anchor.attr('href'), function(url) {

View File

@ -272,7 +272,9 @@ if (isset($_REQUEST['do_save_data'])) {
$new_table_string .= '<td align="center"> <input type="checkbox" id="checkbox_tbl_" name="selected_tbl[]" value="'.htmlspecialchars($table).'" /> </td>' . "\n";
$new_table_string .= '<th>';
$new_table_string .= '<a href="sql.php' . PMA_generate_common_url($tbl_url_params) . '">'. $table . '</a>';
$new_table_string .= '<a href="sql.php'
. PMA_generate_common_url($tbl_url_params) . '">'
. htmlspecialchars($table) . '</a>';
if (PMA_Tracker::isActive()) {
$truename = str_replace(' ', '&nbsp;', htmlspecialchars($table));