Render error message w/o `safe` filter

The error message shown in the error template does not need to be
rendered using the safe filter, and furthermore opens up an XSS
vulnerability.
pull/736/head
Ben Busby 2 years ago
parent d62ceb8423
commit abc30d7da3
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1

@ -16,7 +16,7 @@
<div> <div>
<h1>Error</h1> <h1>Error</h1>
<p> <p>
{{ error_message|safe }} {{ error_message }}
</p> </p>
<hr> <hr>
<p> <p>

Loading…
Cancel
Save