From 4785f21316f36213811c541ba623a3727e65140f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Sep 2020 20:26:57 +0300 Subject: update_rss_feed: log effective URL after fetching validate_url: treat scheme as case-insensitive --- classes/rssutils.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes/rssutils.php') diff --git a/classes/rssutils.php b/classes/rssutils.php index a0acd986e..e730e516a 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -410,7 +410,10 @@ class RSSUtils { $feed_data = trim($feed_data); + global $fetch_effective_url; + Debug::log("fetch done.", Debug::$LOG_VERBOSE); + Debug::log("effective URL (after redirects): " . clean($fetch_effective_url), Debug::$LOG_VERBOSE); Debug::log("source last modified: " . $fetch_last_modified, Debug::$LOG_VERBOSE); if ($feed_data && $fetch_last_modified != $stored_last_modified) { -- cgit v1.2.3-54-g00ecf