From ef8cc9a36cf129003609f183d5dcc262506c76c8 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Mon, 18 Jul 2016 10:02:42 +0300 Subject: [PATCH] [Minor] Limit BAD_EXTENSION rules to one shot --- conf/metrics.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/metrics.conf b/conf/metrics.conf index ab2aa2de4..bc0198626 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -1042,10 +1042,12 @@ metric { symbol "MIME_DOUBLE_BAD_EXTENSION" { weight = 3.0; # This rule has dynamic weight up to 4.0 description = "Bad extension cloaking"; + one_shot = true; } symbol "MIME_BAD_EXTENSION" { weight = 2.0; # This rule has dynamic weight up to 4.0 description = "Bad extension"; + one_shot = true; } } group "url" { -- 2.39.5