Skip to content

Commit

Permalink
Escape the user display name in the backend section
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Apr 15, 2023
1 parent 2255c84 commit bddc5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/components/backend_header.php
Expand Up @@ -86,7 +86,7 @@
<a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown"
data-tippy-content="<?= lang('settings_hint') ?>">
<i class="fas fa-user me-2"></i>
<?= vars('user_display_name') ?>
<?= e(vars('user_display_name')) ?>
</a>
<div class="dropdown-menu dropdown-menu-end">
<?php if (can('view', PRIV_SYSTEM_SETTINGS)): ?>
Expand Down

0 comments on commit bddc5cb

Please sign in to comment.