mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Run all variables containing user-entered text through p::clean()
This commit is contained in:
@@ -17,8 +17,12 @@
|
||||
<? if (!empty($parents)): ?>
|
||||
<ul class="gBreadcrumbs">
|
||||
<? foreach ($parents as $parent): ?>
|
||||
<li><a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"><?= $parent->title ?></a></li>
|
||||
<li>
|
||||
<a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>">
|
||||
<?= p::clean($parent->title) ?>
|
||||
</a>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<li class="active"><?= $item->title ?></li>
|
||||
<li class="active"><?= p::clean($item->title) ?></li>
|
||||
</ul>
|
||||
<? endif ?>
|
||||
|
||||
Reference in New Issue
Block a user