aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/multimap.conf
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/configs/multimap.conf')
-rw-r--r--test/functional/configs/multimap.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/functional/configs/multimap.conf b/test/functional/configs/multimap.conf
index 7c75c7a91..e993b1f7d 100644
--- a/test/functional/configs/multimap.conf
+++ b/test/functional/configs/multimap.conf
@@ -62,4 +62,34 @@ multimap {
filter = "email:addr";
map = "redis://emailaddr";
}
+ REDIS_URL_TLD {
+ type = "url";
+ map = "redis://hostname";
+ filter = "tld";
+ }
+ REDIS_URL_RE_FULL {
+ type = "url";
+ map = "redis://fullurlre";
+ filter = "full:regexp:/(html)$/";
+ }
+ REDIS_URL_FULL {
+ type = "url";
+ map = "redis://fullurl";
+ filter = "full";
+ }
+ REDIS_URL_PHISHED {
+ type = "url";
+ map = "redis://phishedurl";
+ filter = "is_phished";
+ }
+ REDIS_URL_RE_TLD {
+ type = "url";
+ map = "redis://tldre";
+ filter = "tld:regexp:/(net)$/";
+ }
+ REDIS_URL_RE_PLAIN {
+ type = "url";
+ map = "redis://urlre";
+ filter = "regexp:/^(www)/";
+ }
}