diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-27 23:15:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-27 23:15:43 +0000 |
commit | 102a87dd522ead0104cd3ebc8c9abcbeb93b72d5 (patch) | |
tree | d842dc50a279e83fb748f33dbb3ea0afa44afe7c | |
parent | fa6fa2dc19844a10c3696e6d480a95a5a7746050 (diff) | |
download | redmine-102a87dd522ead0104cd3ebc8c9abcbeb93b72d5.tar.gz redmine-102a87dd522ead0104cd3ebc8c9abcbeb93b72d5.zip |
Escape AuthSources in the list.
Contributed by MAEDA, Go
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6127 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/auth_sources/index.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <tbody> <% for source in @auth_sources %> <tr class="<%= cycle("odd", "even") %>"> - <td><%= link_to source.name, :action => 'edit', :id => source%></td> - <td align="center"><%= source.auth_method_name %></td> - <td align="center"><%= source.host %></td> - <td align="center"><%= source.users.count %></td> + <td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td> + <td align="center"><%= h source.auth_method_name %></td> + <td align="center"><%= h source.host %></td> + <td align="center"><%= h source.users.count %></td> <td class="buttons"> <%= link_to l(:button_test), :action => 'test_connection', :id => source %> <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, |