Skip to content
Permalink
Browse files

Fix quick XSS issue (thanks waffle)

  • Loading branch information...
Fauxil-Fox committed Mar 29, 2019
1 parent 7210135 commit 06467f92b59120c71d3a72a097c196b43b17e3bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 User/index.php
@@ -64,7 +64,7 @@
<br>
<?php endif; ?>
<?php if (!is_null($user->getArtistPage())): ?>
<p class="flow-text no-margin"><?= htmlspecialchars($user->getNickname()) ?> takes commissions: <a href="<?= ROOTDIR."Artist/".$user->getArtistPage()->getUrl() ?>"><?= $user->getArtistPage()->getName() ?></a></p>
<p class="flow-text no-margin"><?= htmlspecialchars($user->getNickname()) ?> takes commissions: <a href="<?= ROOTDIR."Artist/".$user->getArtistPage()->getUrl() ?>"><?= htmlspecialchars($user->getArtistPage()->getName()) ?></a></p>
<?php endif; ?>

<br>

0 comments on commit 06467f9

Please sign in to comment.
You can’t perform that action at this time.