lib/rewritten/server/views/translations.erb in rewritten-0.0.3 vs lib/rewritten/server/views/translations.erb in rewritten-0.0.4

- old
+ new

@@ -47,10 +47,10 @@ </tr> <% for mapping in Rewritten.list_range("froms", params[:start].to_i, Rewritten.per_page) %> <tr> <td class=''><a href="<%= mapping %>" target="new"><%= mapping %></td> - <td class=''><a href="<%= u("/to?to=#{to=Rewritten.redis.get("from:#{mapping}")}") %>"><%= to %></td> + <td class=''><a href="<%= u("/to?to=#{escape(to=Rewritten.redis.get("from:#{mapping}"))}") %>"><%= to %></td> </tr> <% end %> </table>