From 05fe152aa2b4310404819e62d356e55b738e2352 Mon Sep 17 00:00:00 2001 From: STDquantum <405720329@qq.com> Date: Sat, 6 Jan 2024 14:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=88=90=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E4=BA=86?= =?UTF-8?q?=EF=BC=8C=E5=90=8E=E9=9D=A2=E4=BB=80=E4=B9=88=E9=83=BD=E6=89=93?= =?UTF-8?q?=E4=B8=8D=E5=BC=80=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/util/compress_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/compress_content.py b/app/util/compress_content.py index c7b809b..c65fd62 100644 --- a/app/util/compress_content.py +++ b/app/util/compress_content.py @@ -248,7 +248,7 @@ def file(bytes_extra, compress_content, output_path): file_path = get_file(bytes_extra, file_name, output_path) return { 'type': msg_type, - 'file_name': escape_js_and_html(file_path), + 'file_name': escape_js_and_html(file_name), 'file_len': file_len, 'file_ext': file_ext, 'file_path': file_path,