summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/bug_modal
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 /extensions/BMO/template/en/default/hook/bug_modal
parent2eaa1ccd24f2c8050eec838454eb1dbef9f344b8 (diff)
downloadbugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.gz
bugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.xz
Bug 1441475 - Added rel tags to links with target=_blank
Diffstat (limited to 'extensions/BMO/template/en/default/hook/bug_modal')
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl
index 5242f47b4..8e94229ff 100644
--- a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl
@@ -21,7 +21,7 @@
[% IF bug.missing_sec_approval %]
<div id="sec-approval-warning" class="attachment-warning">
<img src="extensions/BMO/web/images/sign_warning.png" width="16" height="16">
- <a href="https://wiki.mozilla.org/Security/Bug_Approval_Process" target="_blank">
+ <a href="https://wiki.mozilla.org/Security/Bug_Approval_Process" target="_blank" rel="noopener noreferrer">
sec-approval required on patches before landing
</a>
</div>
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl
index 4726b69ab..016dbd902 100644
--- a/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl
@@ -18,7 +18,7 @@
<div>
[% IF sig.match('^\[\@\s*') && sig.match('\s*\]$') %]
[% sig = sig.replace('(^\[\@\s*|\s*\]$)', '') %]
- <a href="https://crash-stats.mozilla.com/signature/?signature=[% sig FILTER uri %]" target="_blank">
+ <a href="https://crash-stats.mozilla.com/signature/?signature=[% sig FILTER uri %]" target="_blank" rel="noopener noreferrer">
[@ [% sig FILTER html %] ]
</a>
[% ELSE %]