mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-04 12:09:08 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>">
|
||||
<img src="<?= $comment->author()->avatar_url(32, $theme->url("images/avatar.jpg", true)) ?>"
|
||||
class="gAvatar"
|
||||
alt="<?= html::clean($comment->author_name()) ?>"
|
||||
alt="<?= html::clean_attribute($comment->author_name()) ?>"
|
||||
width="32"
|
||||
height="32" />
|
||||
<?= gallery::date_time($comment->created) ?>
|
||||
|
||||
Reference in New Issue
Block a user