Fix XSS vectors in HTML attributes (mostly t() calls)

This commit is contained in:
Andy Staudacher
2009-08-31 21:51:57 -07:00
parent 8c3a2db380
commit 2bc73e2e36
24 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -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: ?>