From f0e95d4bc68f202d0ff9313eddb50240732ec073 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 9 Jan 2022 20:29:46 +0800 Subject: [PATCH] =?UTF-8?q?WAF=E6=A8=A1=E6=9D=BF=E4=B8=AD=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E7=9B=AE=E5=BD=95=E5=A2=9E=E5=8A=A0.env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/firewallconfigs/http_firewall_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_template.go b/pkg/serverconfigs/firewallconfigs/http_firewall_template.go index 33173b4..0eadc65 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_template.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_template.go @@ -252,7 +252,7 @@ func HTTPFirewallTemplate() *HTTPFirewallPolicy { IsOn: true, Param: "${requestPath}", Operator: HTTPFirewallRuleOperatorMatch, - Value: `/\.(git|svn|htaccess|idea)\b`, // TODO more keywords here + Value: `/\.(git|svn|htaccess|idea|env)\b`, // TODO more keywords here IsCaseInsensitive: true, }) group.AddRuleSet(set)