Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 9cca299

Browse files
author
the-djmaze
committed
strip correlation_id tracking
1 parent 68309e5 commit 9cca299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/Common/Html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const
3131
* https://github.com/M66B/FairEmail/blob/master/app/src/main/java/eu/faircode/email/UriHelper.java
3232
*/
3333
// eslint-disable-next-line max-len
34-
stripParams = /^(utm_|ec_|fbclid|mc_eid|mkt_tok|_hsenc|vero_id|oly_enc_id|oly_anon_id|__s|Referrer|mailing|elq|bch|trc|ref)/i,
34+
stripParams = /^(utm_|ec_|fbclid|mc_eid|mkt_tok|_hsenc|vero_id|oly_enc_id|oly_anon_id|__s|Referrer|mailing|elq|bch|trc|ref|correlation_id)/i,
3535
urlGetParam = (url, name) => new URL(url).searchParams.get(name) || url,
3636
base64Url = data => atob(data.replace(/_/g,'/').replace(/-/g,'+')),
3737
stripTracking = url => {

0 commit comments

Comments
 (0)