From 4e22f4954ea6779087e69068f06acca9bd0c4234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Fri, 17 Dec 2021 14:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B8=E5=85=B3=E5=9F=9F?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firewallconfigs/http_firewall_checkpoints.go | 2 +- .../firewallconfigs/http_firewall_rule_operator.go | 4 ++-- pkg/serverconfigs/http_location_pattern_types.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go b/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go index d07726f..c63b2a5 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go @@ -124,7 +124,7 @@ var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{ { Name: "主机名", Prefix: "host", - Description: "比如teaos.cn", + Description: "比如goedge.cn", IsRequest: true, }, { diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go b/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go index a522cfa..2b2af69 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_rule_operator.go @@ -102,13 +102,13 @@ var AllRuleOperators = []*RuleOperatorDefinition{ { Name: "正则匹配", Code: HTTPFirewallRuleOperatorMatch, - Description: "使用正则表达式匹配,在头部使用(?i)表示不区分大小写,正则表达式语法 »", + Description: "使用正则表达式匹配,在头部使用(?i)表示不区分大小写,正则表达式语法 »", CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes, }, { Name: "正则不匹配", Code: HTTPFirewallRuleOperatorNotMatch, - Description: "使用正则表达式不匹配,在头部使用(?i)表示不区分大小写,正则表达式语法 »", + Description: "使用正则表达式不匹配,在头部使用(?i)表示不区分大小写,正则表达式语法 »", CaseInsensitive: HTTPFirewallRuleCaseInsensitiveYes, }, { diff --git a/pkg/serverconfigs/http_location_pattern_types.go b/pkg/serverconfigs/http_location_pattern_types.go index 57efdc7..72a06c0 100644 --- a/pkg/serverconfigs/http_location_pattern_types.go +++ b/pkg/serverconfigs/http_location_pattern_types.go @@ -34,7 +34,7 @@ func AllLocationPatternTypes() []maps.Map { { "name": "正则表达式匹配", "type": HTTPLocationPatternTypeRegexp, - "description": "通过正则表达式来匹配路径,正则表达式语法 »", + "description": "通过正则表达式来匹配路径,正则表达式语法 »", }, } }