diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 33f423ca5..007f0fab2 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -26,7 +26,7 @@ <% if @project.homepage.present? || @subprojects.any? || @project.visible_custom_field_values.any?(&:present?) %> <ul> <% unless @project.homepage.blank? %> - <li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to @project.homepage, @project.homepage %></li> + <li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li> <% end %> <% if @subprojects.any? %> <li><span class="label"><%=l(:label_subproject_plural)%>:</span> |