feed browser: try to filter out feeds with login/pass in the URI (2)

This commit is contained in:
Andrew Dolgov 2008-05-17 17:43:53 +01:00
parent fc1266df32
commit a6bc72dfcc
1 changed files with 2 additions and 1 deletions

View File

@ -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 "<br/>";