From fc1266df325351d4718d67cf8809e0ad1d06fad2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 May 2008 17:41:39 +0100 Subject: [PATCH] feed browser: try to filter out feeds with login/pass in the URI --- modules/pref-feed-browser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.5