diff options
author | Andrew Dolgov <[email protected]> | 2016-09-21 09:39:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-09-21 09:39:31 +0300 |
commit | 6687cb9927cf6bef4440115676dd8bdf716041f4 (patch) | |
tree | 919d73b98eb941d1d35ff1e4292b8882de118ab8 /include | |
parent | cde827220532a3e8f32fb30ac670deb0e91f9dad (diff) |
shared posts: remove link to feed in externally shared articles to prevent leaking potentially private feed urls
Diffstat (limited to 'include')
-rw-r--r-- | include/functions2.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/functions2.php b/include/functions2.php index 7e1171b7d..5b38f1840 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1378,9 +1378,7 @@ } if ($zoom_mode) { - $feed_title = "<a href=\"".htmlspecialchars($line["site_url"]). - "\" target=\"_blank\">". - htmlspecialchars($line["feed_title"])."</a>"; + $feed_title = htmlspecialchars($line["feed_title"]); $rv['content'] .= "<div class=\"postFeedTitle\">$feed_title</div>"; |