Avoid html escaping values used only for comparing
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
e4fa7a0ba5
commit
0b956b5fc0
@ -4526,8 +4526,8 @@ function PMA_getHtmlHeaderForUserProperties(
|
||||
|
||||
}
|
||||
$html_output .= '</h2>' . "\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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user