From 66c4db866963be1195595d5a6cc5909f8feccff9 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 27 Jun 2011 15:20:15 -0700 Subject: [PATCH] [#490] Escape AuthSources in the list. Contributed by MAEDA, Go --- app/views/auth_sources/index.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index 5867be52..56906bd4 100644 --- a/app/views/auth_sources/index.html.erb +++ b/app/views/auth_sources/index.html.erb @@ -15,10 +15,10 @@ <% for source in @auth_sources %> "> - <%= link_to source.name, :action => 'edit', :id => source%> - <%= source.auth_method_name %> - <%= source.host %> - <%= source.users.count %> + <%= link_to(h(source.name), :action => 'edit', :id => source)%> + <%= h source.auth_method_name %> + <%= h source.host %> + <%= h source.users.count %> <%= link_to l(:button_test), :action => 'test_connection', :id => source %> <%= link_to l(:button_delete), { :action => 'destroy', :id => source },