mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #1283 from jmdeldin/master
Escape error messages on the retry page
This commit is contained in:
commit
05423927dc
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
|||
<div class="args"><%= display_args(msg['args']) %></div>
|
||||
</td>
|
||||
<td>
|
||||
<div><%= truncate("#{msg['error_class']}: #{msg['error_message']}", 200) %></div>
|
||||
<div><%= h truncate("#{msg['error_class']}: #{msg['error_message']}", 200) %></div>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th><%= t('ErrorMessage') %></th>
|
||||
<td><%= @retry['error_message'] %></td>
|
||||
<td><%= h(@retry['error_message']) %></td>
|
||||
</tr>
|
||||
<% if !@retry['error_backtrace'].nil? %>
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue