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 1/3] 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; ?> From 00718cf5412990e5abf3f7803625fb7c2e435b94 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Thu, 25 Apr 2024 15:38:57 +0800 Subject: [PATCH 2/3] fuda --- application/views/cache/update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/views/cache/update.php b/application/views/cache/update.php index 8b017411..36bf1e86 100644 --- a/application/views/cache/update.php +++ b/application/views/cache/update.php @@ -193,16 +193,18 @@ + $it) { // $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; + $c++; ?> - + 100) { ?> From 2e932db6a27fff825de55436fd263c4d2deb29ab Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Thu, 25 Apr 2024 15:39:51 +0800 Subject: [PATCH 3/3] fix --- application/views/cache/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/cache/update.php b/application/views/cache/update.php index 36bf1e86..617012fe 100644 --- a/application/views/cache/update.php +++ b/application/views/cache/update.php @@ -193,7 +193,7 @@ - + $it) { // $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8')); // $_it = mb_convert_encoding($it, 'UTF8', $encode);