请求变量增加${cname},WAF checkpoint增加cname和isCNAME

This commit is contained in:
刘祥超
2022-11-16 15:01:10 +08:00
parent 37ef86b92f
commit a89c02fd10
4 changed files with 66 additions and 0 deletions

View File

@@ -758,6 +758,8 @@ func (this *HTTPRequest) Format(source string) string {
return strconv.FormatInt(this.requestFromTime.Unix(), 10)
case "host":
return this.ReqHost
case "cname":
return this.ReqServer.CNameDomain
case "referer":
return this.RawReq.Referer()
case "referer.host":