fix leaked ip addresses in upload status (#3804)
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<br><%= time_ago_in_words_tagged upload.created_at %>
|
<br><%= time_ago_in_words_tagged upload.created_at %>
|
||||||
</td>
|
</td>
|
||||||
<td class="col-normal">
|
<td class="col-normal">
|
||||||
<%= link_to upload.presenter.status(self), uploads_path(search: params[:search].merge(status: upload.status)) %>
|
<%= upload.presenter.status(self) %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<% elsif @upload.is_duplicate? %>
|
<% elsif @upload.is_duplicate? %>
|
||||||
<p>This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %></p>
|
<p>This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %></p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>An error occurred: <%= @upload.status %></p>
|
<p>An error occurred: <%= @upload.presenter.status(self) %></p>
|
||||||
<% if CurrentUser.user.is_builder? %>
|
<% if CurrentUser.user.is_builder? %>
|
||||||
<ul>
|
<ul>
|
||||||
<% @upload.backtrace.to_s.split(/\n/).each do |line| %>
|
<% @upload.backtrace.to_s.split(/\n/).each do |line| %>
|
||||||
|
|||||||
Reference in New Issue
Block a user