mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-03 10:19:47 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<li class="first"><?= html::anchor("albums/1", "← ".t("Back to the Gallery")) ?></li>
|
||||
<li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1&csrf=$csrf") ?>"><?= t("Logout") ?></a></li>
|
||||
</ul>
|
||||
<a id="gLogo" href="<?= url::site("albums/1") ?>" title="<?= t("go back to the Gallery") ?>">
|
||||
<a id="gLogo" href="<?= url::site("albums/1") ?>" title="<?= t("go back to the Gallery")->for_html_attr() ?>">
|
||||
← <?= t("back to the ...") ?>
|
||||
</a>
|
||||
<div id="gSiteAdminMenu" style="display: none;">
|
||||
|
||||
Reference in New Issue
Block a user