From d19952abbcc97485486612475157a7abaec7c918 Mon Sep 17 00:00:00 2001 From: zmister Date: Mon, 20 Sep 2021 11:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=A3=E5=90=8D?= =?UTF-8?q?=E7=A7=B0XSS=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_doc/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_doc/views.py b/app_doc/views.py index bfff0ff..bf8a0ea 100644 --- a/app_doc/views.py +++ b/app_doc/views.py @@ -3265,7 +3265,7 @@ def manage_collect(request): item = { 'id': collect.id, 'item_id':item_id, - 'item_name': item_name, + 'item_name': html_filter(item_name), 'type': collect.collect_type, 'item_project_id':item_project_id, 'item_project_name':item_project_name,