From 3d7e3a4977376adc4feb4c9d4f0160cee58cce06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Thu, 1 Mar 2018 20:28:46 +0100 Subject: [PATCH] New rule file + Added global rule for ref fields - Removed specific rules for ref fields (because of the global rule) + Added rule to remove the last `?` or `&` --- data/data.json | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/data/data.json b/data/data.json index 09260e5..9c1d557 100644 --- a/data/data.json +++ b/data/data.json @@ -13,10 +13,8 @@ "__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "spIA=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "ms3_c=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "ref[\\_]?=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + "[a-zA-Z%0-9]*ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "psc=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "refRID=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "colid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "coliid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "adId=[^\\/|\\?|&]*(\\/|&(amp;)?)?", @@ -100,16 +98,17 @@ "_openstat=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_action_ids=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_action_types=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "fb_ref=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "action_object_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "action_type_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "action_ref_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "gs_l=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "mkt_tok=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hmb_campaign=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hmb_medium=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "hmb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + "hmb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + "[a-zA-Z_]*ref[a-zA-Z_]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + "\\?$", + "\\&$" ], "exceptions": [], "redirections": [] @@ -164,7 +163,6 @@ "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?facebook\\.).*\\/.*", "completeProvider": false, "rules": [ - "[a-zA-Z]*ref=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hc_location=[^\\/|\\?|&]*(\\/|&(amp;)?)?" ], "exceptions": [ @@ -172,15 +170,6 @@ ], "redirections": [] }, - "imdb": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?imdb\\.com)\\/.*", - "completeProvider": false, - "rules": [ - "ref_=[^\\/|\\?|&]*(\\/|&(amp;)?)?" - ], - "exceptions": [], - "redirections": [] - }, "twitter": { "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?twitter\\.).*\\/.*", "completeProvider": false,