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

master
Andrew Dolgov 17 years ago
parent fc1266df32
commit a6bc72dfcc

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

Loading…
Cancel
Save