From b5e4db41d95e8f612556fd1172c5e15628a58e6e Mon Sep 17 00:00:00 2001 From: Maxim Date: Sat, 15 Nov 2025 19:30:31 +0300 Subject: [PATCH] apc.php / gzdecode rss decode rss content if it compressed --- apc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apc.php b/apc.php index 046f2286..541e23df 100644 --- a/apc.php +++ b/apc.php @@ -1117,6 +1117,10 @@ function block_sort($array1, $array2) } else { $apcversion = phpversion('apcu'); + if ($rss[0] !== '<') { + $rss = gzdecode($rss); + } + preg_match('!APCu ([0-9.]+)!', $rss, $match); echo ''; if (version_compare($apcversion, $match[1], '>=')) {