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/assets/javascripts/environments/components | |
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/assets/javascripts/environments/components')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_external_url.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/environments/components/environment_external_url.js b/app/assets/javascripts/environments/components/environment_external_url.js index a554998f52c..b4f9eb357fd 100644 --- a/app/assets/javascripts/environments/components/environment_external_url.js +++ b/app/assets/javascripts/environments/components/environment_external_url.js @@ -14,6 +14,7 @@ export default { class="btn external_url" :href="externalUrl" target="_blank" + rel="noopener noreferrer" title="Environment external URL"> <i class="fa fa-external-link" aria-hidden="true"></i> </a> |