summaryrefslogtreecommitdiff
path: root/plugins/af_comics
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-27 10:25:00 +0300
committerAndrew Dolgov <[email protected]>2020-02-27 10:25:00 +0300
commit61168847ac9b1c952d6762eb0bd382b200e3183f (patch)
tree7de75cd06637800ddb4408b9193860e5ee8398c8 /plugins/af_comics
parent3b62150abde4d36e5be622fb0fd1f2266291d79a (diff)
af_comics: escape all template urls
Diffstat (limited to 'plugins/af_comics')
-rwxr-xr-xplugins/af_comics/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php
index 3a8203428..979cd350c 100755
--- a/plugins/af_comics/init.php
+++ b/plugins/af_comics/init.php
@@ -206,7 +206,7 @@ class Af_Comics extends Plugin {
$tpl->setVariable('ARTICLE_CONTENT', "<p> " . $doc->saveHTML($content_node) . "</p>", true);
$tpl->setVariable('ARTICLE_AUTHOR', '', true);
- $tpl->setVariable('ARTICLE_SOURCE_LINK', $article_link, true);
+ $tpl->setVariable('ARTICLE_SOURCE_LINK', htmlspecialchars($article_link), true);
$tpl->setVariable('ARTICLE_SOURCE_TITLE', "The Far Side", true);
$tpl->addBlock('entry');