From: Andrew Dolgov Date: Sat, 17 May 2008 16:41:39 +0000 (+0100) Subject: feed browser: try to filter out feeds with login/pass in the URI X-Git-Tag: 1.2.23-final~78 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fc1266df325351d4718d67cf8809e0ad1d06fad2;p=tt-rss.git feed browser: try to filter out feeds with login/pass in the URI --- diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php index a80109bc..76d180bb 100644 --- a/modules/pref-feed-browser.php +++ b/modules/pref-feed-browser.php @@ -18,7 +18,8 @@ feed_url,site_url, ".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated 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) {