]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/list.html.erb
Sanitise parameters used in URL generation
[rails.git] / app / views / user / list.html.erb
index fcd0c41fcfd7f49a349ecd2f1035f0f24ad804e2..903a51c5bb6bbbb7d308db77247d9ac57f58a981 100644 (file)
@@ -24,7 +24,7 @@
               :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
           %>
           <% if @user_pages.page_count > 1 %>
-          | <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, params.merge(:page => n) } %>
+          | <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, @params.merge(:page => n) } %>
           <% end %>
         </td>
         <td>