mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Fixed XSS vulnerability when displaying form error messages.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
{% endif %}
|
||||
</label>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="{% render_field_width field %}">
|
||||
{% if appended_text %}
|
||||
<div class="input-group">
|
||||
@@ -31,7 +31,7 @@
|
||||
{% if field.errors %}
|
||||
<p class="help-block">
|
||||
{% for error in field.errors %}
|
||||
{{ error|safe }}
|
||||
{{ error }}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user