Permalink
Browse files

Fixed #2290 -- Escaped HTML in admin messages. Thanks, Sean

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 930929e commit 16c5cec9c149830be605354d910890a9b4a90b49 @adrianholovaty adrianholovaty committed Jul 7, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/base.html
@@ -30,7 +30,7 @@
{% endif %}
{% if messages %}
- <ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul>
+ <ul class="messagelist">{% for message in messages %}<li>{{ message|escape }}</li>{% endfor %}</ul>
{% endif %}
<!-- Content -->

0 comments on commit 16c5cec

Please sign in to comment.