diff --git a/tracker-radar-tests/TR-domain-matching/tracker_allowlist_matching_tests.json b/tracker-radar-tests/TR-domain-matching/tracker_allowlist_matching_tests.json index 191c3bba..dbbf67fa 100644 --- a/tracker-radar-tests/TR-domain-matching/tracker_allowlist_matching_tests.json +++ b/tracker-radar-tests/TR-domain-matching/tracker_allowlist_matching_tests.json @@ -150,5 +150,11 @@ "site": "https://testsite.com", "request": "http://a.b.c.videos.allowlist-tracker-2.com/a.js", "isAllowlisted": true + }, + { + "description": "simple wildcard should match", + "site": "https://testsite.com", + "request": "http://allowlist-tracker-2.com/abc/def/wildcard.js", + "isAllowlisted": true } ] diff --git a/tracker-radar-tests/TR-domain-matching/tracker_allowlist_reference.json b/tracker-radar-tests/TR-domain-matching/tracker_allowlist_reference.json index 6793559c..58e47e86 100644 --- a/tracker-radar-tests/TR-domain-matching/tracker_allowlist_reference.json +++ b/tracker-radar-tests/TR-domain-matching/tracker_allowlist_reference.json @@ -29,6 +29,11 @@ "rule": "allowlist-tracker-2.com/login.js", "domains": [""], "reason": "match single resource on all sites" + }, + { + "rule": "allowlist-tracker-2.com/.*/wildcard.js", + "domains": [""], + "reason": "match with simple wildcard" } ] },