mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-02 05:01:04 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
(<a href="http://www.unicode.org/cldr/data/charts/supplemental/language_plural_rules.html"><?= t("learn more about plural forms") ?></a>)
|
||||
<?= form::textarea("l10n-edit-plural-translation-other", "", ' rows="2"') ?>
|
||||
</div>
|
||||
<input type="submit" name="l10n-edit-save" value="<?= t("Save translation") ?>"/>
|
||||
<input type="submit" name="l10n-edit-save" value="<?= t("Save translation")->for_html_attr() ?>"/>
|
||||
<a href="javascript: Gallery.l10nClient.copySourceText()"
|
||||
class="gButtonLink ui-state-default ui-corner-all"><?= t("Copy source text") ?></a>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user