]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1441475 - Added rel tags to links with target=_blank
authorSimon Bennetts <psiinon@gmail.com>
Wed, 28 Feb 2018 03:05:24 +0000 (03:05 +0000)
committerDylan William Hardison <dylan@hardison.net>
Wed, 28 Feb 2018 03:05:24 +0000 (22:05 -0500)
22 files changed:
extensions/BMO/template/en/default/account/create.html.tmpl
extensions/BMO/template/en/default/bug/create/create-costume.html.tmpl
extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl
extensions/BMO/template/en/default/bug/create/create-dev-engagement-event.html.tmpl
extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl
extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl
extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl
extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl
extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl
extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl
extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl
extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl
extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl
extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl
extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl
extensions/TrackingFlags/template/en/default/hook/bug/create/create-bug_flags.html.tmpl
template/en/default/account/prefs/mfa.html.tmpl
template/en/default/bug/edit.html.tmpl
template/en/default/mfa/duo/not_enrolled.html.tmpl

index 10d5fb5c174c9b394f0eb989d4c461d0b73dbca0..59ff822bd1e7b65bd882d8e5b98380fb60c575b2 100644 (file)
@@ -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
index 0d83471779c5a675e133c9211d7f91b8248d0b99..732af262945dc99e72eda34e08416544c2835ead 100644 (file)
@@ -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.
index eac24e53ecc4bd938816210445fb74e9d27ea5ee..a53803f909437559abc8d57efd4d56ac97705b55 100644 (file)
@@ -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>
index 5742a17e9479114cac8ded29b6098cb3ab7e3465..1197952fe838a31c30b9c9b1deaca23df269243e 100644 (file)
   </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">
index 6ce6226b5f101f4494c2f93c9fd9771b41ff043c..3f85dd654df6672f12105e02991bc73e8d322855 100644 (file)
@@ -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>
index 5c49003c92db5e449c264086e6d1009ad74f26d2..ad3b30324a49e8bf0b5cb6c913a0582d84985c73 100644 (file)
@@ -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"
index d2b1c1f08d5f4872ba21317343513188082f73f2..697542eadd0b212abc7de8a196943c306eab7381 100644 (file)
@@ -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>
index 246467caa78c990d15935e07560aa91bd12e9036..2107da039b484ec6e654613695bfa3a06a31d9dc 100644 (file)
@@ -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>
 
index 28b8045f61dfe42035ca43ab82c2738977bc9352..cff5e57969108220a577b6b8cb63e07b6053a26d 100644 (file)
@@ -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"
index 693051996956876f1b06f9b09fa84ba0bdcdd9a5..811e373cbe479c0180b2b97b5ab5cad0ca8ee58a 100644 (file)
@@ -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>
index 87b51c9240a9173e1cfdbd439a36af3f322dbc21..02d7d8ebffd28bfdf88bf8386f315bcb2c2b31aa 100644 (file)
@@ -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 %]
index 5242f47b4d23090f9f01d886d69ab34ef6575086..8e94229ff6d77b6cb3c93a6af3e00cd6764fac99 100644 (file)
@@ -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>
index 4726b69ab8ce069d83ace443c7c5c6adf56f8307..016dbd9020b45eaceb6ef4acccdb9a90d9172adb 100644 (file)
@@ -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 %]
index 8e4c47fbfab2eb05e3e06437d6d4c01c771a1526..a8d55c1372467e47935de2bed742b9b4fec8b52c 100644 (file)
@@ -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>
index 02f18b7ad3432d72eccabbad091b96d0702ee5ce..b61e742b46ab8d9e3d0531b40bb121c2eceb7228 100644 (file)
             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">
index 20192841f55b746dacc7ddc647217cfde3b14c21..e1a9e0bc5df850979644a4116c34b295ffeacc9a 100644 (file)
@@ -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>
 
index c0f382e933e22124d69a7c8bbdb233166a10b728..2fdddc7818370088713f023613917ce4e52d1a78 100644 (file)
       <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>
index 18b5a6c3864e207a12bfaa3f72a996fb1e64c516..39baf9ad9273ea31c3d1e2641bf3621436c53f2a 100644 (file)
@@ -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"
index 6e7014f01b82b89d630b1f8949f36206286aa0f6..e30df03f88e7cd9d09aa39c6b60b251ee50f19f6 100644 (file)
@@ -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">
index 59be17f47464a7c0ef0d79bae8e0029f67a232d8..f75320892eb13080cafcbacec91151ab08f546f7 100644 (file)
       <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 %]
         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>
           <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>
 
index b424d55426c6cc11a5164d253f78f05daf3cb7de..445e5fe0d1dd66e88a15abb19e9da1fcf84026fe 100644 (file)
@@ -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">
index f6a594dc228c0f805c18b721ecb57356d0f470a1..8e825b092c61dcbedd8424dfc77156178715c3fb 100644 (file)
 <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>