From 84b5f20687248ab127d694190ead46a75ab410bc Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 9 Jun 2022 19:43:52 +0800 Subject: [PATCH] =?UTF-8?q?WAF=E8=A7=84=E5=88=99=E4=B8=AD=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0${requestURL}=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../firewallconfigs/http_firewall_checkpoints.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go b/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go index 6789982..bc8104e 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_checkpoints.go @@ -48,13 +48,19 @@ var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{ { Name: "请求URI", Prefix: "requestURI", - Description: "包含URL参数的请求URI,比如/hello/world?lang=go", + Description: "包含URL参数的请求URI,类似于 /hello/world?lang=go", IsRequest: true, }, { Name: "请求路径", Prefix: "requestPath", - Description: "不包含URL参数的请求路径,比如/hello/world", + Description: "不包含URL参数的请求路径,类似于 /hello/world", + IsRequest: true, + }, + { + Name: "请求URL", + Prefix: "requestURL", + Description: "完整的请求URL,包含协议、域名、请求路径、参数等,类似于 https://example.com/hello?name=lily", IsRequest: true, }, {