mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -42,6 +42,6 @@
|
||||
<form method="post" action="<?= url::site("move/save/$source->id") ?>">
|
||||
<?= access::csrf_form_field() ?>
|
||||
<input type="hidden" name="target_id" value="" />
|
||||
<input type="submit" id="gMoveButton" value="<?= t("Move") ?>" disabled="disabled"/>
|
||||
<input type="submit" id="gMoveButton" value="<?= t("Move")->for_html_attr() ?>" disabled="disabled"/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user