Escape HTML special chars

master
Phoenix Eve Aspacio 2017-06-11 07:58:30 +08:00 committed by GitHub
parent 329ac40d95
commit 9754b8c196
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
<?php
foreach ($MAILCOW_APPS as $app):
?>
<a href="<?= $app['link']; ?>" role="button" class="btn btn-lg btn-default"><?= $app['name']; ?></a>&nbsp;
<a href="<?= htmlspecialchars($app['link']); ?>" role="button" title="<?= htmlspecialchars($app['description']); ?>" class="btn btn-lg btn-default"><?= htmlspecialchars($app['name']); ?></a>&nbsp;
<?php
endforeach;
?>