Skip to content
Snippets Groups Projects
Commit 87aaf12d authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

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

parent c8ab9b9b
Branches master
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<h2>Accès non autorisé</h2> <h2>Accès non autorisé</h2>
{{ exc | safe }} {{ exc }}
<p class="footer"> <p class="footer">
{% if g.scodoc_dept %} {% if g.scodoc_dept %}
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<h2>Erreur !</h2> <h2>Erreur !</h2>
{{ exc | safe }} {{ exc }}
<div style="margin-top: 16px;"> <div style="margin-top: 16px;">
{% if g.scodoc_dept %} {% if g.scodoc_dept %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment