summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-21 20:35:24 +0300
committerAndrew Dolgov <[email protected]>2020-09-21 20:35:24 +0300
commit3dd4169b5f25252bdec2037867c11814286afb75 (patch)
treeba4b0359eddef308a2cf477cc96206b227d708be /classes/rssutils.php
parent4785f21316f36213811c541ba623a3727e65140f (diff)
clarify some URL validation-related error messages
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index e730e516a..7cfbca6d3 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -411,9 +411,10 @@ class RSSUtils {
$feed_data = trim($feed_data);
global $fetch_effective_url;
+ global $fetch_effective_ip_addr;
Debug::log("fetch done.", Debug::$LOG_VERBOSE);
- Debug::log("effective URL (after redirects): " . clean($fetch_effective_url), Debug::$LOG_VERBOSE);
+ Debug::log("effective URL (after redirects): " . clean($fetch_effective_url) . " (IP: $fetch_effective_ip_addr)", Debug::$LOG_VERBOSE);
Debug::log("source last modified: " . $fetch_last_modified, Debug::$LOG_VERBOSE);
if ($feed_data && $fetch_last_modified != $stored_last_modified) {