diff options
author | Simon Bennetts <psiinon@gmail.com> | 2018-02-28 04:05:24 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-02-28 04:05:24 +0100 |
commit | 5e1c968d4fbbe5e39432978de601f197a7a539bd (patch) | |
tree | 32486aa87d226d983b7ce9abc25405e30bffad89 | |
parent | 2eaa1ccd24f2c8050eec838454eb1dbef9f344b8 (diff) | |
download | bugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.gz bugzilla-5e1c968d4fbbe5e39432978de601f197a7a539bd.tar.xz |
Bug 1441475 - Added rel tags to links with target=_blank
22 files changed, 34 insertions, 34 deletions
diff --git a/extensions/BMO/template/en/default/account/create.html.tmpl b/extensions/BMO/template/en/default/account/create.html.tmpl index 10d5fb5c1..59ff822bd 100644 --- a/extensions/BMO/template/en/default/account/create.html.tmpl +++ b/extensions/BMO/template/en/default/account/create.html.tmpl @@ -113,7 +113,7 @@ function onSubmit() { <ol> <li> Please read our - <a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines" target="_blank">[% terms.Bug %] Writing Guidelines</a>. + <a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines" target="_blank" rel="noopener noreferrer">[% terms.Bug %] Writing Guidelines</a>. </li> <li> [% terms.Bugzilla %] is a public place. Your comments and other activities diff --git a/extensions/BMO/template/en/default/bug/create/create-costume.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-costume.html.tmpl index 0d8347177..732af2629 100644 --- a/extensions/BMO/template/en/default/bug/create/create-costume.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-costume.html.tmpl @@ -144,7 +144,7 @@ YAHOO.util.Event.onDOMReady(function() { <p> Before submitting your request, please make sure to review the - <a href="https://wiki.mozilla.org/FirefoxCostume" target="_blank">Firefox Costume wiki pages</a>. + <a href="https://wiki.mozilla.org/FirefoxCostume" target="_blank" rel="noopener noreferrer">Firefox Costume wiki pages</a>. You’ll find all the information you ever imagined needing, including details about what we’re looking for in your request, how it’s decided where a costume will be sent, and details about the actual costumes. diff --git a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl index eac24e53e..a53803f90 100644 --- a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl @@ -241,7 +241,7 @@ function toggleTypeOther(element) { <label for="collective"> I would like a <a href="https://wiki.mozilla.org/Design/creativecollective" - target="_blank">Mozilla Creative Collective</a> designer to work on this project. + target="_blank" rel="noopener noreferrer">Mozilla Creative Collective</a> designer to work on this project. </label> </div> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl index 5742a17e9..1197952fe 100644 --- a/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl @@ -317,7 +317,7 @@ </div> <div class="field_desc"> Please select all that apply. See - <a href="https://www.mozilla.org/en-US/products/" target="_blank"> + <a href="https://www.mozilla.org/en-US/products/" target="_blank" rel="noopener noreferrer"> mozilla.org/products</a> for more information about Mozilla products. </div> <input type="checkbox" name="product_fx" id="product_fx"> diff --git a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl index 6ce6226b5..3f85dd654 100644 --- a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl @@ -156,7 +156,7 @@ function validateAndSubmit() { %] <br> <a href="https://developer.mozilla.org/docs/Project:Subject-matter_experts" - target="_blank" id="common_topic_experts"> + target="_blank" rel="noopener noreferrer" id="common_topic_experts"> List of common topic experts</a> </td> </tr> diff --git a/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl index 5c49003c9..ad3b30324 100644 --- a/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl @@ -254,7 +254,7 @@ $(document).ready(function() { <div class="row"> <label class="required" for="job_description"> Job Description - (<a target="_blank" href="https://mana.mozilla.org/wiki/display/globalstaffing/Intern+Job+Descriptions">more info</a>) + (<a target="_blank" rel="noopener noreferrer" href="https://mana.mozilla.org/wiki/display/globalstaffing/Intern+Job+Descriptions">more info</a>) </label> <textarea required name="job_description" id="job_description" cols="80" rows="10" diff --git a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl index d2b1c1f08..697542ead 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl @@ -604,7 +604,7 @@ function validate_form() { </select> <div id="metrica_extra" class="bz_default_hidden extra"> Please fill out the - <a href="https://basecamp.com/2256351/projects/2980983/messages/12008835" target="_blank">Metrica form</a> + <a href="https://basecamp.com/2256351/projects/2980983/messages/12008835" target="_blank" rel="noopener noreferrer">Metrica form</a> and submit to Metrica no later than a week before project starts. </div> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl index 246467caa..2107da039 100644 --- a/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl @@ -352,7 +352,7 @@ function jobDescToggle(what) { <input type="file" id="data" name="data" size="60"><br> <em>For job description formatting guidelines and help writing your job description please read the <a href="https://mana.mozilla.org/wiki/display/globalstaffing/Best+Practices+Guide%3A+Writing+Job+Descriptions" - target="_blank">Best Practices Guide</a>.</em> + target="_blank" rel="noopener noreferrer">Best Practices Guide</a>.</em> </td> </tr> @@ -366,7 +366,7 @@ function jobDescToggle(what) { <textarea id="attach_text" name="attach_text" cols="60" rows="4"></textarea><br> <em>For job description formatting guidelines and help writing your job description please read the <a href="https://mana.mozilla.org/wiki/display/globalstaffing/Best+Practices+Guide%3A+Writing+Job+Descriptions" - target="_blank">Best Practices Guide</a>.</em> + target="_blank" rel="noopener noreferrer">Best Practices Guide</a>.</em> </td> </tr> diff --git a/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl index 28b8045f6..cff5e5796 100644 --- a/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl @@ -531,7 +531,7 @@ function showGear() { </ul> <p> - Check <a href="https://wiki.mozilla.org/GearStore" target="_blank">the gear + Check <a href="https://wiki.mozilla.org/GearStore" target="_blank" rel="noopener noreferrer">the gear wiki</a> for more information about gear, including approved uses and the list of available gear. </p> @@ -539,7 +539,7 @@ function showGear() { <p> Gear requests for Rep-driven events and campaigns should continue to be submitted through <a href="https://wiki.mozilla.org/ReMo/Tools_and_Resources" - target="_blank">their existing process</a>. + target="_blank" rel="noopener noreferrer">their existing process</a>. </p> <form method="post" action="post_bug.cgi" id="swagRequestForm" enctype="multipart/form-data" @@ -620,7 +620,7 @@ function showGear() { <th>Gear Needed</th> <td> <input type="hidden" name="items" id="items" value=""> - <a href="https://wiki.mozilla.org/GearStore/Gearavailable" target="_blank"> + <a href="https://wiki.mozilla.org/GearStore/Gearavailable" target="_blank" rel="noopener noreferrer"> View the current inventory</a>, then add your selection(s):<br> <input type="text" size="2" id="quantity" value="1" diff --git a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl index 693051996..811e373cb 100644 --- a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl @@ -24,7 +24,7 @@ <tr class="bz_attach_footer"> <td colspan="[% show_attachment_flags ? 3 : 2 %]" 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> </td> diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl index 87b51c924..02d7d8ebf 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl @@ -31,7 +31,7 @@ [% 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">[@ [% sig FILTER html %] ]</a><br> + target="_blank" rel="noopener noreferrer">[@ [% sig FILTER html %] ]</a><br> [% ELSE %] [% sig FILTER html %]<br> [% END %] 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 %] 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&sys_id=-1&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&sys_id=-1&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"> diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 20192841f..e1a9e0bc5 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -356,7 +356,7 @@ Product: <b><span id="dupes_product_name">?</span></b>: <ul> <li>Please fill out this form clearly, precisely and in as much detail as you can manage.</li> <li>Please report only a single problem at a time.</li> -<li><a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines" target="_blank">These guidelines</a> +<li><a href="https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines" target="_blank" rel="noopener noreferrer">These guidelines</a> explain how to write effective [% terms.bug %] reports.</li> </ul> diff --git a/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl index c0f382e93..2fdddc781 100644 --- a/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl @@ -219,7 +219,7 @@ <th> <label class="required" for="privacy"> I have read the - <a href="https://www.mozilla.org/privacy/" target="_blank">Mozilla Privacy Policy</a>: + <a href="https://www.mozilla.org/privacy/" target="_blank" rel="noopener noreferrer">Mozilla Privacy Policy</a>: </label> </th> <td><input id="privacy" name="privacy" type="checkbox" value="1"></td> diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl index 18b5a6c38..39baf9ad9 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl @@ -65,7 +65,7 @@ function validateAndSubmit() { <h1>Mozilla Reps - Swag Request Form</h1> -<p>Review the <a href="https://wiki.mozilla.org/ReMo/SOPs/Swag_Requests" target="_blank"> +<p>Review the <a href="https://wiki.mozilla.org/ReMo/SOPs/Swag_Requests" target="_blank" rel="noopener noreferrer"> Swag Requests SOP</a> before you complete this form.</p> <form method="post" action="post_bug.cgi" id="swagRequestForm" enctype="multipart/form-data" diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-bug_flags.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-bug_flags.html.tmpl index 6e7014f01..e30df03f8 100644 --- a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-bug_flags.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-bug_flags.html.tmpl @@ -9,7 +9,7 @@ [% RETURN IF NOT tracking_flags.size %] <td> <div> - <a href="https://wiki.mozilla.org/BMO/UserGuide#Tracking_Flags" target="_blank"> + <a href="https://wiki.mozilla.org/BMO/UserGuide#Tracking_Flags" target="_blank" rel="noopener noreferrer"> What do these flags mean?</a> </div> <table class="tracking_flags"> 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>] </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> |