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

This commit is contained in:
Andrew Dolgov 2008-05-17 17:41:39 +01:00
parent 438f2ce922
commit fc1266df32
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@
feed_url,site_url, feed_url,site_url,
".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated ".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated
FROM ttrss_feeds WHERE id = '$id' AND FROM ttrss_feeds WHERE id = '$id' AND
auth_login = '' AND auth_pass = '' AND private IS NOT true"); auth_login = '' AND auth_pass = '' AND private IS NOT true
AND feed_url NOT LIKE '%:%@%/%'");
if (db_num_rows($result) == 1) { if (db_num_rows($result) == 1) {