aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-12 08:16:12 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-12 08:16:12 +0000
commit48de103eaa2564a88369f1abdb8a7d1ab79e50d5 (patch)
tree3a08db559171ba68df788b50daadd4d5c4fb1213
parente919e3e2a1b0c12534f422153787fcb04da0638b (diff)
parentf098a984efacc9cb486991e9ea2da206cf853c6e (diff)
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
-rw-r--r--app/views/general/exception_caught.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/general/exception_caught.rhtml b/app/views/general/exception_caught.rhtml
index b266b53a1..5f0dfe13d 100644
--- a/app/views/general/exception_caught.rhtml
+++ b/app/views/general/exception_caught.rhtml
@@ -19,6 +19,6 @@
<% end %>
<h2><%= _('Technical details') %></h2>
- <p><strong><%=@exception_class ? @exception_class : _("Unknown")%></strong></p>
- <p><strong><%=@exception_message %></strong></p>
+ <p><strong><%= h(@exception_class ? @exception_class : _("Unknown")) %></strong></p>
+ <p><strong><%= h(@exception_message) %></strong></p>
</div>