Protect against Reflected XSS on home page (and other exception-handling pages)

This commit is contained in:
Emmanuel Viennet 2024-04-23 18:28:00 +02:00
parent c8ab9b9b6c
commit 87aaf12d27
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<h2>Accès non autorisé</h2>
{{ exc | safe }}
{{ exc }}
<p class="footer">
{% if g.scodoc_dept %}

View File

@ -5,7 +5,7 @@
<h2>Erreur !</h2>
{{ exc | safe }}
{{ exc }}
<div style="margin-top: 16px;">
{% if g.scodoc_dept %}