Skip to content

Commit 0b7416c

Browse files
committed
Escape user group when displaying
Signed-off-by: Michal Čihař <michal@cihar.com>
1 parent 792cd12 commit 0b7416c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/server_privileges.lib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3679,7 +3679,7 @@ function PMA_getHtmlTableBodyForUserRights($db_rights)
36793679
if ($cfgRelation['menuswork']) {
36803680
$html_output .= '<td class="usrGroup">' . "\n"
36813681
. (isset($group_assignment[$host['User']])
3682-
? $group_assignment[$host['User']]
3682+
? htmlspecialchars($group_assignment[$host['User']])
36833683
: ''
36843684
)
36853685
. '</td>' . "\n";

0 commit comments

Comments
 (0)