From 5e77d84b15bb5183891ab143ac2405f88b973554 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 14 Nov 2012 17:51:08 +0100 Subject: Escape some more email addresses --- hyperkitty/templates/messages/message.html | 2 +- hyperkitty/templates/month_view.html | 2 +- hyperkitty/templates/threads/right_col.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'hyperkitty') diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index d408936..460e217 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -19,7 +19,7 @@ {% gravatar_img_for_email email.email 40 %}
- {{email.sender_name}} + {{email.sender_name|escapeemail}} {% if use_mockups %}
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index f3d0935..cff4c31 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -52,7 +52,7 @@ {% gravatar_img_for_email thread.starting_email.sender_email 40 %}
{% endif %} - {{ thread.starting_email.sender_name }} + {{ thread.starting_email.sender_name|escapeemail }}
{{ thread.starting_email.content }} diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 1b1cf76..11ff90a 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -53,7 +53,7 @@ {% for name, email in participants.items|sort %}
  • {% gravatar_img_for_email email 20 %} - {{ name }} + {{ name|escapeemail }}
  • {% endfor %} -- cgit