diff options
author | Sheogorath | 2018-10-04 01:41:48 +0200 |
---|---|---|
committer | Sheogorath | 2018-10-04 01:49:36 +0200 |
commit | 75a23fe2c91d6c2f5008daccae72f8964af72307 (patch) | |
tree | 0a0d58402cb694344033414002ee1f20784efbfc /public/views/shared | |
parent | d9ba11b21a77561ec3f72d5396d48fea32f6389d (diff) |
Add rel="noopener" to target="_blank" links
The noopener construct protects from some nasty clickjacking attacks. We
can apply them savely to all our links since we don't rely on the
previously used page.
Some more details: https://mathiasbynens.github.io/rel-noopener/
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'public/views/shared')
-rw-r--r-- | public/views/shared/refresh-modal.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/shared/refresh-modal.ejs b/public/views/shared/refresh-modal.ejs index 5be41b2a..64580545 100644 --- a/public/views/shared/refresh-modal.ejs +++ b/public/views/shared/refresh-modal.ejs @@ -14,7 +14,7 @@ </div> <div class="new-version" style="display:none;"> <h5><%= __('New version available!') %></h5> - <a href="<%- url %>/s/release-notes" target="_blank"><%= __('See releases notes here') %></a> + <a href="<%- url %>/s/release-notes" target="_blank" rel="noopener"><%= __('See releases notes here') %></a> <br> <strong><%= __('Refresh to enjoy new features.') %></strong> </div> |