From 87aaf12d2732ba4769963f6cfe0169fbebc07896 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 23 Apr 2024 18:28:00 +0200 Subject: [PATCH] Protect against Reflected XSS on home page (and other exception-handling pages) --- app/templates/error_access_denied.j2 | 2 +- app/templates/sco_value_error.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/error_access_denied.j2 b/app/templates/error_access_denied.j2 index c14a2c8a..46793cea 100644 --- a/app/templates/error_access_denied.j2 +++ b/app/templates/error_access_denied.j2 @@ -6,7 +6,7 @@

Accès non autorisé

-{{ exc | safe }} +{{ exc }}

Erreur !

-{{ exc | safe }} +{{ exc }}
{% if g.scodoc_dept %}