diff options
author | jakeburden <jburden@gitlab.com> | 2019-08-23 11:24:00 -0400 |
---|---|---|
committer | jakeburden <jburden@gitlab.com> | 2019-09-02 12:09:12 -0400 |
commit | 14597d129fdb035b30890aa2ad5c9a0ee3e70807 (patch) | |
tree | de452988f6e738f121c8027d924387d81d5f449a | |
parent | abe5d3528f2b1d1d4e3b44637cb4807415c6748d (diff) | |
download | gitlab-ce-14597d129fdb035b30890aa2ad5c9a0ee3e70807.tar.gz |
Add attributes to securely open external links
-rw-r--r-- | app/views/projects/pages/_list.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pages/_list.html.haml b/app/views/projects/pages/_list.html.haml index 2427b4d7611..ae8e8aeabc9 100644 --- a/app/views/projects/pages/_list.html.haml +++ b/app/views/projects/pages/_list.html.haml @@ -12,7 +12,7 @@ .domain-status.ci-status-icon.has-tooltip{ class: "ci-status-icon-#{status}", title: tooltip } = sprite_icon("status_#{status}", size: 16 ) .domain-name - = link_to domain.url do + = link_to domain.url, target: :_blank, rel: 'noopener noreferrer' do = domain.url = icon('external-link') - if domain.subject |