summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-07-01 11:47:39 +0400
committerAndrew Dolgov <[email protected]>2010-07-01 11:47:39 +0400
commit2211a391fa85f7360fe0a6d9011dbaaa8e161dc1 (patch)
tree385b493fcd878de7f517c70c466ad4e27b809bec /modules
parent254ac7059cfeef28c74dfecc72b7773bd19d559f (diff)
feed browser: fix feeds with ampersand signs in feed url not being displayed properly
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 090b18a7a..78a8409bf 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 = "<a target=\"_blank\" href=\"".
htmlspecialchars($details["site_url"])."\">