Skip to content

Commit 71fe68a

Browse files
committed
escaping api key name
1 parent 3f8b2c6 commit 71fe68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Domain/Setting/Templates/editCompanySettings.tpl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class="fa fa-cog"></span><?php echo $tpl->__('subtitles.defaults'); ?>
216216
<li><a href="<?= BASE_URL?>/api/delAPIKey/<?= $apiKey['id'] ?>" class="delete"><i class="fa fa-trash"></i> Delete Key</a></li>
217217
</ul>
218218
</div>
219-
<a href="#/api/apiKey/<?= $apiKey['id'] ?>"><strong><?= $apiKey['firstname'] ?></strong></a><br />
219+
<a href="#/api/apiKey/<?= $apiKey['id'] ?>"><strong><?= $tpl->escape($apiKey['firstname']) ?></strong></a><br />
220220
lt_<?= $apiKey['username'] ?>***
221221
| <?= $tpl->__('labels.created_on')?>: <?= format($apiKey['createdOn'])->date() ?> | <?= $tpl->__('labels.last_used')?>: <?= format($apiKey['lastlogin'])->date() ?>
222222

0 commit comments

Comments
 (0)