summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
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/BugModal
parent2eaa1ccd24f2c8050eec838454eb1dbef9f344b8 (diff)
downloadbugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.gz
bugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.xz
Bug 1441475 - Added rel tags to links with target=_blank
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl2
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index 8e4c47fbf..a8d55c137 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -89,7 +89,7 @@
<input id="ctag-add" size="10" placeholder="add tag"
maxlength="[% constants.MAX_COMMENT_TAG_LENGTH FILTER html %]">
<button type="button" id="ctag-close" class="minor">X</button>
- <a href="https://wiki.mozilla.org/BMO/comment_tagging" target="_blank" title="About Comment Tagging">Help</a>
+ <a href="https://wiki.mozilla.org/BMO/comment_tagging" target="_blank" rel="noopener noreferrer" title="About Comment Tagging">Help</a>
</div>
<div id="ctag-error" style="display:none">
<a href="#" class="close-btn" data-for="ctag-error">x</a>
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 02f18b7ad..b61e742b4 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -873,7 +873,7 @@
hide_on_view = 1
%]
<span id="cab-review-gate">
- <a href="https://mozilla.service-now.com/change_request.do?sysparm_stack=change_request_list.do&amp;sys_id=-1&amp;sysparm_query=active=true" target="_blank">ServiceNow Change Request</a>
+ <a href="https://mozilla.service-now.com/change_request.do?sysparm_stack=change_request_list.do&amp;sys_id=-1&amp;sysparm_query=active=true" target="_blank" rel="noopener noreferrer">ServiceNow Change Request</a>
<button id="cab-review-gate-close" type="button" class="minor">Use Flag</button>
</span>
<span id="cab-review-edit" style="display:none">