summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/head.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index cd5257e..32601fe 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -665,10 +665,10 @@ if (are_notices_pending()):?>
<li>
<b>
<?php if (!empty($notice['url'])):?>
- <a href="<?=$notice['url']?>"><?=$notice['id']?></a> -
+ <a href="<?=htmlspecialchars($notice['url'])?>"><?=htmlspecialchars($notice['id'])?></a> -
<?php endif;?>
</b>
- <?=$notice['notice']?>
+ <?=htmlspecialchars($notice['notice'])?>
<i>@ <?=date('Y-m-d H:i:s', $notice['time'])?></i>
</li>
<?php endforeach;?>
OpenPOWER on IntegriCloud