From abbb82e608310cf1822fe123ca8d14074aa26259 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 9 Jul 2024 09:48:44 +0800 Subject: [PATCH] * [bug#52012,done,1h] decode output. --- module/file/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/file/control.php b/module/file/control.php index 0703846ba1..f7a8840b2a 100755 --- a/module/file/control.php +++ b/module/file/control.php @@ -197,6 +197,7 @@ class file extends control } if($this->post->kind == 'task' && $this->config->vision != 'lite') $output .= $this->lang->file->childTaskTips; } + $output = htmlspecialchars_decode(htmlspecialchars_decode($output, ENT_NOQUOTES), ENT_NOQUOTES); if(isset($_POST['encode']) && $this->post->encode != "utf-8") $output = helper::convertEncoding($output, 'utf-8', $this->post->encode . '//TRANSLIT'); $this->sendDownHeader($this->post->fileName, 'csv', $output);