shared posts: remove link to feed in externally shared articles to prevent leaking potentially private feed urls

This commit is contained in:
Andrew Dolgov 2016-09-21 09:39:31 +03:00
parent cde8272205
commit 6687cb9927
1 changed files with 1 additions and 3 deletions

View File

@ -1378,9 +1378,7 @@
} }
if ($zoom_mode) { if ($zoom_mode) {
$feed_title = "<a href=\"".htmlspecialchars($line["site_url"]). $feed_title = htmlspecialchars($line["feed_title"]);
"\" target=\"_blank\">".
htmlspecialchars($line["feed_title"])."</a>";
$rv['content'] .= "<div class=\"postFeedTitle\">$feed_title</div>"; $rv['content'] .= "<div class=\"postFeedTitle\">$feed_title</div>";