From aa00af8f2dd90aef5e5afa778e4f6a6606f0445e Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Mon, 17 Jan 2022 11:17:43 +0000 Subject: [PATCH] Chore(CodeQL): Add noopener noreferrer to external links in email templates (#44092) * Add noopener noreferrer to external links in email templates * missed one... * kick drone --- emails/templates/alert_notification.html | 4 ++-- emails/templates/invited_to_org.html | 2 +- emails/templates/new_user_invite.html | 8 +++---- emails/templates/signup_started.html | 2 +- public/emails/alert_notification.html | 10 ++++---- public/emails/alert_notification_example.html | 24 +++++++++---------- public/emails/invited_to_org.html | 10 ++++---- public/emails/new_user_invite.html | 14 +++++------ public/emails/signup_started.html | 8 +++---- 9 files changed, 41 insertions(+), 41 deletions(-) diff --git a/emails/templates/alert_notification.html b/emails/templates/alert_notification.html index d41104e61e9..98d2f7ff56c 100644 --- a/emails/templates/alert_notification.html +++ b/emails/templates/alert_notification.html @@ -111,7 +111,7 @@
- View your Alert rule + View your Alert rule
@@ -120,7 +120,7 @@
- Go to the Alerts page + Go to the Alerts page
diff --git a/emails/templates/invited_to_org.html b/emails/templates/invited_to_org.html index 681830604b9..69ef61587df 100644 --- a/emails/templates/invited_to_org.html +++ b/emails/templates/invited_to_org.html @@ -34,7 +34,7 @@ - +
Log in nowLog in now
diff --git a/emails/templates/new_user_invite.html b/emails/templates/new_user_invite.html index cafbf4a4af8..b2c0b431fd3 100644 --- a/emails/templates/new_user_invite.html +++ b/emails/templates/new_user_invite.html @@ -28,11 +28,11 @@

You've been invited to join the [[.OrgName]] organization by [[.InvitedBy]]. To accept your invitation and join the team, please click the link below:

- + - +
Accept InvitationAccept Invitation
@@ -40,10 +40,10 @@

You can also copy and paste this link into your browser directly: [[.LinkUrl]]

- + - \ No newline at end of file + diff --git a/emails/templates/signup_started.html b/emails/templates/signup_started.html index 80b4c327ba4..3e8b3e0b976 100644 --- a/emails/templates/signup_started.html +++ b/emails/templates/signup_started.html @@ -33,7 +33,7 @@ - +
Complete Sign UpComplete Sign Up
diff --git a/public/emails/alert_notification.html b/public/emails/alert_notification.html index 8d7917c92d4..8417be52ac9 100644 --- a/public/emails/alert_notification.html +++ b/public/emails/alert_notification.html @@ -3,7 +3,7 @@ - + - +
- + @@ -305,7 +305,7 @@ text-decoration: underline;
@@ -245,7 +245,7 @@ text-decoration: underline;
- + - + - + - +
@@ -255,7 +255,7 @@ text-decoration: underline; Value
desktop @@ -264,7 +264,7 @@ text-decoration: underline; 40
mobile @@ -273,7 +273,7 @@ text-decoration: underline; 20
- View your Alert rule + View your Alert rule
@@ -314,7 +314,7 @@ text-decoration: underline;
- Go to the Alerts page + Go to the Alerts page
@@ -326,12 +326,12 @@ text-decoration: underline;
- - + + - +