Skip to content

Commit 8eb2f35

Browse files
author
acoollevel
committed
Fixed potential security vulnerability
1 parent 0637cdb commit 8eb2f35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • error_tracker/django/templates/error_tracker

error_tracker/django/templates/error_tracker/detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 class="text-center"><a href="{% url 'view_errors' %}">Errors Seen</a></h2>
3030
<div><strong>Request data: </strong>{{ obj.request_data }}</div>
3131
<hr/>
3232
<div><strong>Exception detail: </strong><br/>
33-
{{ obj.traceback|replace_new_line_with_br|safe }}</div>
33+
{{ obj.traceback|escape|replace_new_line_with_br|safe }}</div>
3434
</div>
3535
{% endif %}
3636
{% endblock %}

0 commit comments

Comments
 (0)