Fixed XSS vulnerability

This commit is contained in:
Parziphal 2016-01-07 21:53:56 -05:00
parent 49eff95399
commit 3649bc135a

View File

@ -18,7 +18,7 @@
</script>
<?= $this->content('html_header') ?>
<?= $this->autoDiscoveryLinkTag('atom', 'post#atom', array('tags' => $this->params()->tags)) ?>
<?= $this->autoDiscoveryLinkTag('atom', 'post#atom', array('tags' => $this->h($this->params()->tags))) ?>
<?php foreach (CONFIG()->asset_stylesheets as $asset) : ?>
<?= $this->stylesheetLinkTag($asset) ?>