diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-03-16 00:21:48 +0300 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2017-03-21 04:51:36 +0300 |
commit | c5a9d73ad8a141166d871e551027208014a281c0 (patch) | |
tree | 2c67e06925166205e40c35588732285260bdecdb /app/views/import/gitlab | |
parent | 153b594c06c994a8c9b4a92e9c5c33c3cdb4e0e0 (diff) |
Merge branch 'fix-links-target-blank' into 'security'
Adds rel="noopener noreferrer" to all links with target="_blank"
See merge request !2071
Diffstat (limited to 'app/views/import/gitlab')
-rw-r--r-- | app/views/import/gitlab/status.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/import/gitlab/status.html.haml b/app/views/import/gitlab/status.html.haml index d5b88709a34..7456799ca0e 100644 --- a/app/views/import/gitlab/status.html.haml +++ b/app/views/import/gitlab/status.html.haml @@ -43,7 +43,7 @@ - @repos.each do |repo| %tr{ id: "repo_#{repo["id"]}" } %td - = link_to repo["path_with_namespace"], "https://gitlab.com/#{repo["path_with_namespace"]}", target: "_blank" + = link_to repo["path_with_namespace"], "https://gitlab.com/#{repo["path_with_namespace"]}", target: "_blank", rel: 'noopener noreferrer' %td.import-target = import_project_target(repo['namespace']['path'], repo['name']) %td.import-actions.job-status |