Skip to content

Commit

Permalink
escape name in paging links, #4852
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 24, 2021
1 parent b3ce2f1 commit 2a57abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/views/queue.erb
Expand Up @@ -52,4 +52,4 @@
<% end %>
</table>
</div>
<%= erb :_paging, locals: { url: "#{root_path}queues/#{@name}" } %>
<%= erb :_paging, locals: { url: "#{root_path}queues/#{CGI.escape(@name)}" } %>

0 comments on commit 2a57abc

Please sign in to comment.