mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 15:01:29 +00:00
fetch_file_contents: decompress gzipped data
af_readability: remove utf8 preamble hack
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user