From 6ad4f1b2e026483ac1b84ce9a522e2b45a7d891c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 1 Dec 2022 15:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96WAF=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=AC=A6=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firewallconfigs/http_firewall_rule_operator.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go b/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go index 2b2af69..65e3666 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go @@ -114,7 +114,7 @@ var AllRuleOperators = []*RuleOperatorDefinition{ { Name: "包含字符串", Code: HTTPFirewallRuleOperatorContains, - Description: "包含某个字符串", + Description: "包含某个字符串,比如Hello World包含了World", CaseInsensitive: HTTPFirewallRuleCaseInsensitiveNo, }, { @@ -126,13 +126,13 @@ var AllRuleOperators = []*RuleOperatorDefinition{ { Name: "包含前缀", Code: HTTPFirewallRuleOperatorPrefix, - Description: "包含某个前缀", + Description: "包含字符串前缀部分,比如/hello前缀会匹配/hello, /hello/world等", CaseInsensitive: HTTPFirewallRuleCaseInsensitiveNo, }, { Name: "包含后缀", Code: HTTPFirewallRuleOperatorSuffix, - Description: "包含某个后缀", + Description: "包含字符串后缀部分,比如/hello后缀会匹配/hello, /hi/hello等", CaseInsensitive: HTTPFirewallRuleCaseInsensitiveNo, }, {