Skip to content

Commit

Permalink
fix: added missing conversion to HTML entities
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Mar 1, 2024
1 parent dd3dbbf commit de90315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions phpmyfaq/admin/user.php
Expand Up @@ -572,8 +572,8 @@ class="form-check-input permission">
<td><?= Strings::htmlentities($user->getUserData('display_name')) ?></td>
<td><?= Strings::htmlentities($user->getLogin()) ?></td>
<td>
<a href="mailto:<?= $user->getUserData('email') ?>">
<?= $user->getUserData('email') ?>
<a href="mailto:<?= Strings::htmlentities($user->getUserData('email')) ?>">
<?= Strings::htmlentities($user->getUserData('email')) ?>
</a>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/ucp.php
Expand Up @@ -75,7 +75,7 @@
'msgRealName' => Translation::get('ad_user_name'),
'realname' => Strings::htmlentities($user->getUserData('display_name')),
'msgEmail' => Translation::get('msgNewContentMail'),
'email' => $user->getUserData('email'),
'email' => Strings::htmlentities($user->getUserData('email')),
'msgIsVisible' => Translation::get('ad_user_data_is_visible'),
'checked' => (int)$user->getUserData('is_visible') === 1 ? 'checked' : '',
'msgPassword' => Translation::get('ad_auth_passwd'),
Expand Down

0 comments on commit de90315

Please sign in to comment.