From b365bc5073c328796c98de23373735eccf9cdf92 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Thu, 25 Apr 2024 15:34:14 +0800 Subject: [PATCH] opt bad cache --- application/views/cache/update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/views/cache/update.php b/application/views/cache/update.php index 522d7325..8b017411 100644 --- a/application/views/cache/update.php +++ b/application/views/cache/update.php @@ -197,6 +197,8 @@ // $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8')); // $_it = mb_convert_encoding($it, 'UTF8', $encode); $_it = preg_replace('/#(.*)$/i', '', $it); + if (strlen($it) != strlen($_it)) + continue; ?>