From 7e89ffb6f1ea26eaecc73a720004c9dddfeaf22d Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Thu, 27 Nov 2025 23:51:04 +0100 Subject: [PATCH] XSS protection added to comments --- argocd/deployment.yaml | 2 +- .../templates/standards/standard_detail.html | 32 +++++++++- dokumente/views.py | 60 +++++++++++++++---- pages/templates/base.html | 2 +- 4 files changed, 82 insertions(+), 14 deletions(-) diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index deb99fd..61ed7eb 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -25,7 +25,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/vui:0.958-comments + image: git.baumann.gr/adebaumann/vui:0.958-comments-XSS imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/dokumente/templates/standards/standard_detail.html b/dokumente/templates/standards/standard_detail.html index 033f96f..6f43da3 100644 --- a/dokumente/templates/standards/standard_detail.html +++ b/dokumente/templates/standards/standard_detail.html @@ -219,6 +219,36 @@