Skip to content

Commit

Permalink
#9322 Escape user group name in user list export
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Sep 25, 2023
1 parent 279aaee commit 18b318f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/components/forms/statistics/users/ReportForm.php
Expand Up @@ -49,7 +49,7 @@ public function __construct(string $action, Context $context)
'options' => $userGroups->values()->map(function (UserGroup $userGroup) {
return [
'value' => $userGroup->getId(),
'label' => $userGroup->getLocalizedName()
'label' => htmlspecialchars($userGroup->getLocalizedName())
];
}),
'default' => $userGroups->keys(),
Expand Down

0 comments on commit 18b318f

Please sign in to comment.