Filter Oracle tracking parameters

This commit is contained in:
M66B 2020-04-23 21:58:12 +02:00
parent 7a997b5259
commit ab15deea12
1 changed files with 2 additions and 0 deletions

View File

@ -5491,7 +5491,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
builder.clearQuery();
for (String key : url.getQueryParameterNames())
// https://en.wikipedia.org/wiki/UTM_parameters
// https://docs.oracle.com/en/cloud/saas/marketing/eloqua-user/Help/EloquaAsynchronousTrackingScripts/EloquaTrackingParameters.htm
if (key.toLowerCase(Locale.ROOT).startsWith("utm_") ||
key.toLowerCase(Locale.ROOT).startsWith("elq") ||
PARANOID_QUERY.contains(key.toLowerCase(Locale.ROOT)))
changed = true;
else if (!TextUtils.isEmpty(key))