From 0b956b5fc0411bc0d8b4d40d0a9d6301c05f9e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Dec 2016 14:30:40 +0100 Subject: [PATCH] Avoid html escaping values used only for comparing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/server_privileges.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/server_privileges.lib.php b/libraries/server_privileges.lib.php index 057f0d9493..877adf8a15 100644 --- a/libraries/server_privileges.lib.php +++ b/libraries/server_privileges.lib.php @@ -4526,8 +4526,8 @@ function PMA_getHtmlHeaderForUserProperties( } $html_output .= '' . "\n"; - $cur_user = htmlspecialchars($GLOBALS['dbi']->getCurrentUser()); - $user = htmlspecialchars($username . '@' . $hostname); + $cur_user = $GLOBALS['dbi']->getCurrentUser(); + $user = $username . '@' . $hostname; // Add a short notice for the user // to remind him that he is editing his own privileges if ($user === $cur_user) {