From 6215e201eb98226837954059f6c99c9aa1c55a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sat, 18 Nov 2006 19:33:17 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20XSS=20on=20database=20comment,=20thanks?= =?UTF-8?q?=20to=20laurent=20gaffi=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 2 ++ libraries/common.lib.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 294f7ef38..2c71eb090 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * Documentation.html, libraries/ip_allow_deny.lib.php: Define headers which to trust in configuration, thanks for help with this to Christian Schmidt, Peytz & Co. + * libraries/common.lib.php: Fix XSS on database comment, thanks to laurent + gaffiƩ. 2006-11-18 Marc Delisle * index.php, libraries/common.lib.php: undefined index diff --git a/libraries/common.lib.php b/libraries/common.lib.php index ad0c4bb64..77e0741fe 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -180,11 +180,11 @@ function PMA_getHtmlSelectDb($selected = '') } foreach ($dbs as $db) { $return .= '