From 4fb6007e55a6d6b560152dec924108849446b9d4 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Fri, 8 May 2020 16:18:28 +0800 Subject: [PATCH] fix: an encrypt form in guest upload folder --- common.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.php b/common.php index a523f38..5453e4e 100644 --- a/common.php +++ b/common.php @@ -1854,6 +1854,12 @@ function render_list($path = '', $files = '') $tmp = splitfirst($tmp[1], ''); $html .= $tmp[1]; } + while (strpos($html, '')) { + $tmp = splitfirst($html, ''); + $html = $tmp[0]; + $tmp = splitfirst($tmp[1], ''); + $html .= $tmp[1]; + } while (strpos($html, '')) { $html = str_replace('', '', $html); $html = str_replace('', '', $html);