mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-07 20:19:20 -04:00
Fix XSS vectors in HTML attributes (mostly t() calls)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<span id="gAfterInstall"
|
||||
title="<?= t("Welcome to Gallery 3") ?>"
|
||||
title="<?= t("Welcome to Gallery 3")->for_html_attr() ?>"
|
||||
href="<?= url::site("after_install") ?>"/>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){$("#gAfterInstall").gallery_dialog({immediate: true});});
|
||||
|
||||
Reference in New Issue
Block a user