From 8ac8328229ae7493d6060b6272578d85879c698d Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Fri, 22 Jul 2011 20:14:50 +0200 Subject: [PATCH] Backported fix for PMASA-2011-9 to 3.3 --- tbl_printview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tbl_printview.php b/tbl_printview.php index c5b17ab27..2b38e24a4 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -72,7 +72,7 @@ if ($multi_tables) { $tbl_list .= (empty($tbl_list) ? '' : ', ') . PMA_backquote($table); } - echo ''. $strShowTables . ': ' . $tbl_list . '' . "\n"; + echo ''. $strShowTables . ': ' . htmlspecialchars($tbl_list) . '' . "\n"; echo '
' . "\n"; } // end if @@ -87,7 +87,7 @@ foreach ($the_tables as $key => $table) { } $counter++; echo '' . "\n"; - echo '

' . $table . '

' . "\n"; + echo '

' . htmlspecialchars($table) . '

' . "\n"; /** * Gets table informations