<%= textilizable @project.description %>
- <% unless @project.homepage.blank? %>- <%=l(:field_homepage)%>: <%= auto_link @project.homepage %>
<% end %>
+ <% unless @project.homepage.blank? %>- <%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %>
<% end %>
<% if @subprojects.any? %>
- <%=l(:label_subproject_plural)%>: <%= @subprojects.collect{|p| link_to(h(p.name), :action => 'show', :id => p)}.join(", ") %>
<% end %>
diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml
index d89672d..a6b0e54 100644
--- a/app/views/users/list.rhtml
+++ b/app/views/users/list.rhtml
@@ -26,10 +26,10 @@
<% for user in @users -%>
<%= %w(anon active registered locked)[user.status] %>">
- <%= link_to user.login, :action => 'edit', :id => user %> |
- <%= user.firstname %> |
- <%= user.lastname %> |
- <%= user.mail %> |
+ <%= link_to h(user.login), :action => 'edit', :id => user %> |
+ <%= h(user.firstname) %> |
+ <%= h(user.lastname) %> |
+ <%= h(user.mail) %> |
<%= image_tag('true.png') if user.admin? %> |
<%= format_time(user.created_on) %> |
<%= format_time(user.last_login_on) unless user.last_login_on.nil? %> |
diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml
index 8c25897..855248c 100644
--- a/app/views/welcome/index.rhtml
+++ b/app/views/welcome/index.rhtml
@@ -18,7 +18,7 @@
<% for project in @projects %>
-
- <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
+ <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
<%= textilizable project.short_description, :project => project %>
<% end %>