diff options
author | Andrew Dolgov <[email protected]> | 2020-02-27 10:25:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-02-27 10:25:00 +0300 |
commit | 61168847ac9b1c952d6762eb0bd382b200e3183f (patch) | |
tree | 7de75cd06637800ddb4408b9193860e5ee8398c8 /plugins/af_comics/init.php | |
parent | 3b62150abde4d36e5be622fb0fd1f2266291d79a (diff) |
af_comics: escape all template urls
Diffstat (limited to 'plugins/af_comics/init.php')
-rwxr-xr-x | plugins/af_comics/init.php | 2 |
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'); |