From a5517fe857535163d5989778108fd9d7eb891707 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 Dec 2018 17:50:16 +0300 Subject: fetch_file_contents: decompress gzipped data af_readability: remove utf8 preamble hack --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/rssutils.php') diff --git a/classes/rssutils.php b/classes/rssutils.php index ea57e6466..28bdda78b 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -1612,7 +1612,7 @@ class RSSUtils { } } - private static function is_gzipped($feed_data) { + static function is_gzipped($feed_data) { return mb_strpos($feed_data, "\x1f" . "\x8b" . "\x08", 0, "US-ASCII") === 0; } -- cgit v1.2.3-54-g00ecf