mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
Strip utm_* tracking
This commit is contained in:
parent
4fa37ce187
commit
b1bbd58e21
1 changed files with 3 additions and 0 deletions
|
@ -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('<div id="' + id + '" hidden="" class="b-text-part '
|
||||
+ (isHtml ? 'html' : 'plain') + '">'
|
||||
+ resultHtml
|
||||
|
|
Loading…
Reference in a new issue