Escape user group when displaying

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-06-22 10:53:08 +02:00
parent 792cd1262f
commit 0b7416c5f4

View File

@ -3679,7 +3679,7 @@ function PMA_getHtmlTableBodyForUserRights($db_rights)
if ($cfgRelation['menuswork']) {
$html_output .= '<td class="usrGroup">' . "\n"
. (isset($group_assignment[$host['User']])
? $group_assignment[$host['User']]
? htmlspecialchars($group_assignment[$host['User']])
: ''
)
. '</td>' . "\n";