lib/resque/scheduler/server/views/delayed.erb in resque-scheduler-4.4.0 vs lib/resque/scheduler/server/views/delayed.erb in resque-scheduler-4.5.0
- old
+ new
@@ -44,10 +44,10 @@
<% end %>
</td>
<td><%= h(show_job_arguments(job['args'])) if job && delayed_timestamp_size == 1 %></td>
<td>
<% if job %>
- <a href="<%=u URI("/delayed/jobs/#{URI.escape(job['class'])}?args=" + URI.encode(job['args'].to_json)) %>">All schedules</a>
+ <a href="<%=u URI("/delayed/jobs/#{CGI.escape(job['class'])}?args=" + CGI.escape(job['args'].to_json)) %>">All schedules</a>
<% end %>
</td>
</tr>
<% end %>
</table>