summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSimon Bennetts <psiinon@gmail.com>2018-02-28 04:05:24 +0100
committerDylan William Hardison <dylan@hardison.net>2018-02-28 04:05:24 +0100
commit5e1c968d4fbbe5e39432978de601f197a7a539bd (patch)
tree32486aa87d226d983b7ce9abc25405e30bffad89 /template
parent2eaa1ccd24f2c8050eec838454eb1dbef9f344b8 (diff)
downloadbugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.gz
bugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.xz
Bug 1441475 - Added rel tags to links with target=_blank
Diffstat (limited to 'template')
-rw-r--r--template/en/default/account/prefs/mfa.html.tmpl18
-rw-r--r--template/en/default/bug/edit.html.tmpl2
-rw-r--r--template/en/default/mfa/duo/not_enrolled.html.tmpl4
3 files changed, 12 insertions, 12 deletions
diff --git a/template/en/default/account/prefs/mfa.html.tmpl b/template/en/default/account/prefs/mfa.html.tmpl
index 59be17f47..f75320892 100644
--- a/template/en/default/account/prefs/mfa.html.tmpl
+++ b/template/en/default/account/prefs/mfa.html.tmpl
@@ -174,14 +174,14 @@
<button type="button" id="mfa-select-totp">Time-based One-Time Password (TOTP)</button><br>
<blockquote>
Requires a smartphone and a TOTP app (such as
- <a href="https://support.google.com/accounts/answer/1066447" target="_blank">Google Authenticator</a>
- or <a href="https://freeotp.github.io/" target="_blank">Red Hat FreeOTP</a>),
+ <a href="https://support.google.com/accounts/answer/1066447" target="_blank" rel="noopener noreferrer">Google Authenticator</a>
+ or <a href="https://freeotp.github.io/" target="_blank" rel="noopener noreferrer">Red Hat FreeOTP</a>),
</blockquote>
[% IF Param("duo_host") && user.in_group("mozilla-employee-confidential") %]
<button type="button" id="mfa-select-duo">Duo Security</button><br>
<blockquote>
- Requires a <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank">Duo Security</a>
+ Requires a <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank" rel="noopener noreferrer">Duo Security</a>
account (recommended for Mozilla employees).
</blockquote>
[% END %]
@@ -226,18 +226,18 @@
Example TOTP Applications:<br>
<ul>
<li>Android and iOS:
- <a href="https://support.google.com/accounts/answer/1066447" target="_blank">Google Authenticator</a>,
- <a href="https://freeotp.github.io/" target="_blank">Red Hat FreeOTP</a>
+ <a href="https://support.google.com/accounts/answer/1066447" target="_blank" rel="noopener noreferrer">Google Authenticator</a>,
+ <a href="https://freeotp.github.io/" target="_blank" rel="noopener noreferrer">Red Hat FreeOTP</a>
</li>
<li>Firefox OS:
- <a href="https://marketplace.firefox.com/app/firekey/" target="_blank">Firekey</a>
+ <a href="https://marketplace.firefox.com/app/firekey/" target="_blank" rel="noopener noreferrer">Firekey</a>
</li>
<li>Windows Phone:
<a href="http://www.windowsphone.com/en-us/store/app/authenticator/021dd79f-0598-e011-986b-78e7d1fa76f8"
- target="_blank">Authenticator</a>
+ target="_blank rel="noopener noreferrer"">Authenticator</a>
</li>
</ul>
- <a href="https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm#Client_implementations" target="_blank">
+ <a href="https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm#Client_implementations" target="_blank" rel="noopener noreferrer">
Other clients
</a>
<button type="button" class="mfa-totp-popup-close">Close</button>
@@ -258,7 +258,7 @@
<img src="images/duo.png" id="duo-logo" width="32" height="32">
Verification with Duo Security will be performed before your account is updated.<br>
- You must be <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank">
+ You must be <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank" rel="noopener noreferrer">
enrolled with Duo Security via login.mozilla.com</a> before you can use Duo 2FA.
</p>
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index b424d5542..445e5fe0d 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -40,7 +40,7 @@
<span id="bz_ctag_autocomp"></span>
</span>
[<a href="https://wiki.mozilla.org/BMO/comment_tagging"
- target="_blank" title="About Comment Tagging">help</a>]
+ target="_blank" rel="noopener noreferrer" title="About Comment Tagging">help</a>]
&nbsp;
</div>
<div id="bz_ctag_error" class="bz_default_hidden">
diff --git a/template/en/default/mfa/duo/not_enrolled.html.tmpl b/template/en/default/mfa/duo/not_enrolled.html.tmpl
index f6a594dc2..8e825b092 100644
--- a/template/en/default/mfa/duo/not_enrolled.html.tmpl
+++ b/template/en/default/mfa/duo/not_enrolled.html.tmpl
@@ -40,12 +40,12 @@
<div id="duo_container">
<p>
The email address <b>[% email FILTER html %]</b> is not enrolled in Duo Security on
- <a href="https://login.mozilla.com/" target="_blank">login.mozilla.com</a>.
+ <a href="https://login.mozilla.com/" target="_blank" rel="noopener noreferrer">login.mozilla.com</a>.
</p>
<p>
Please ensure you are using your Mozilla LDAP username, and that you have
- completed the <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank">
+ completed the <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank" rel="noopener noreferrer">
Duo Security enrollment process</a>.
</p>