From 609eaa7f75e2cc04789c13bf586200101065cb9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 17 Nov 2006 08:59:36 +0000 Subject: [PATCH] Fix XSS on table comment. --- ChangeLog | 1 + navigation.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0b6c41f0d..d0e4435c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $HeadURL$ 2006-11-17 Michal Čihař * sql.php, libraries/display_tbl.lib.php: Force pos to be integer to avoid XSS. + * navigation.php: Fix XSS on table comment. 2006-11-16 Marc Delisle * pmd_pdf.php: export coordinates to PDF page even if the tables diff --git a/navigation.php b/navigation.php index c6360a17f..5d3692fcb 100644 --- a/navigation.php +++ b/navigation.php @@ -557,8 +557,8 @@ function PMA_displayTableList($tables, $visible = false, } echo ' id="icon_' . htmlspecialchars($table_db . '.' . $table['Name']) . '"' .' width="10" height="10" alt="' . $GLOBALS['strBrowse'] . '" />' . "\n" - .'' . htmlspecialchars($table['disp_name']) . ''; echo '' . "\n";