mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-27 10:14:32 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<? if ($user->guest): ?>
|
||||
<li class="first">
|
||||
<a href="<?= url::site("login/ajax") ?>"
|
||||
title="<?= t("Login to Gallery") ?>"
|
||||
title="<?= t("Login to Gallery")->for_html_attr() ?>"
|
||||
id="gLoginLink"><?= t("Login") ?></a>
|
||||
</li>
|
||||
<? else: ?>
|
||||
|
||||
Reference in New Issue
Block a user