From: Toshi MARUYAMA Date: Mon, 27 Jun 2011 23:19:41 +0000 (+0000) Subject: Merged r6127 from trunk. X-Git-Tag: 1.2.1~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15228c99586c9fb8633032028c32f1278179d422;p=redmine.git Merged r6127 from trunk. Escape AuthSources in the list. Contributed by MAEDA, Go git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6128 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index 6e8b4d7db..56906bd43 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 },