From: Andrew Dolgov Date: Sat, 17 May 2008 16:43:53 +0000 (+0100) Subject: feed browser: try to filter out feeds with login/pass in the URI (2) X-Git-Tag: 1.2.23-final~77 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a6bc72dfcc457d4a6feab8edf537095a3c5efd14;p=tt-rss.git feed browser: try to filter out feeds with login/pass in the URI (2) --- diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php index 76d180bb..28c6efe7 100644 --- a/modules/pref-feed-browser.php +++ b/modules/pref-feed-browser.php @@ -93,7 +93,8 @@ $result = db_query($link, "SELECT feed_url,COUNT(id) AS subscribers FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf WHERE tf.feed_url = ttrss_feeds.feed_url - AND (private IS true OR owner_uid = '$owner_uid')) GROUP BY feed_url + AND (private IS true OR feed_url LIKE '%:%@%/%' OR + owner_uid = '$owner_uid')) GROUP BY feed_url ORDER BY subscribers DESC LIMIT $limit"); print "
";