aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/exception_caught.rhtml
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-12 13:52:36 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-12 13:52:36 +0000
commitd84353a0dbff7c4543c7f4423d7b63728c7041c3 (patch)
tree2bcfaa2b7cbe0eedccad518c8c2d064203a2143c /app/views/general/exception_caught.rhtml
parent2d0524b90108004d67b5ee7f21b7b69ebf8eb3df (diff)
parent21ee1ca03faa722119a3c7e587a843b960783096 (diff)
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
Diffstat (limited to 'app/views/general/exception_caught.rhtml')
-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>