From b1bbd58e21ce8f3d2b1c4be9e04651bf9be5bff3 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 13 Jan 2022 11:10:40 +0100 Subject: [PATCH] Strip utm_* tracking --- dev/Stores/User/Message.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/Stores/User/Message.js b/dev/Stores/User/Message.js index 5388e91f9..bdc70d461 100644 --- a/dev/Stores/User/Message.js +++ b/dev/Stores/User/Message.js @@ -461,6 +461,9 @@ export const MessageUserStore = new class { } } + // Strip utm_* tracking + resultHtml = resultHtml.replace(/(\\?|&|&)utm_[a-z]+=[a-z0-9_-]*/si, '$1'); + body = Element.fromHTML('