From e1e14b044d1f0fe1b92adc9e9ad5c4c01413ebc6 Mon Sep 17 00:00:00 2001 From: Viraj Jadav <12402130601074@adit.ac.in> Date: Wed, 20 May 2026 11:46:31 +0530 Subject: [PATCH] fix(security): escape template outputs and add template security tests --- templates/project.html | 40 ++++++++++++++++++------------------ tests/test_index_security.py | 20 ++++++++++++++++++ tests/test_security.py | 34 ++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 20 deletions(-) create mode 100644 tests/test_index_security.py create mode 100644 tests/test_security.py diff --git a/templates/project.html b/templates/project.html index 85fa923..86bee3d 100644 --- a/templates/project.html +++ b/templates/project.html @@ -7,16 +7,16 @@ -