From: Andrew Dolgov Date: Thu, 1 Jul 2010 07:47:39 +0000 (+0400) Subject: feed browser: fix feeds with ampersand signs in feed url not being displayed properly X-Git-Tag: 1.4.3-proper~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2211a391fa85f7360fe0a6d9011dbaaa8e161dc1;p=tt-rss.git feed browser: fix feeds with ampersand signs in feed url not being displayed properly --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 090b18a7..78a8409b 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1556,9 +1556,9 @@ if ($mode == 1) { - $feed_url = htmlspecialchars($line["feed_url"]); + $feed_url = $line["feed_url"]; $subscribers = $line["subscribers"]; - + $det_result = db_query($link, "SELECT site_url,title,id FROM ttrss_feeds WHERE feed_url = '$feed_url' LIMIT 1"); @@ -1579,6 +1579,8 @@ $class = ($feedctr % 2) ? "even" : "odd"; + $feed_url = htmlspecialchars($line["feed_url"]); + if ($details["site_url"]) { $site_url = "