Fix XSS in character search

(cherry picked from commit dfc70c098f43b320cbb750b0a89ee9c027ce8fed)
This commit is contained in:
slawkens 2020-06-06 18:32:22 +02:00
parent a0006bad73
commit e84c6f7a24

View File

@ -9,7 +9,7 @@
<div class="AttentionSign" style="background-image:url({{ template_path }}/images/content/attentionsign.gif);"></div>
<b>The Following Errors Have Occurred:</b><br/>
{% for error in errors %}
<li>{{ error|raw }}</li>
<li>{{ error|striptags('<b>')|raw }}</li>
{% endfor %}
</div>
<div class="BoxFrameHorizontal" style="background-image:url({{ template_path }}/images/content/box-frame-horizontal.gif);"></div>