WAF相关跳转不计入统计

This commit is contained in:
刘祥超
2023-12-03 14:41:11 +08:00
parent 74708dc02f
commit c504b37118
3 changed files with 3 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ func (this *Get302Action) Perform(waf *WAF, group *RuleGroup, set *RuleSet, requ
return true, false
}
request.DisableStat()
request.ProcessResponseHeaders(writer.Header(), http.StatusFound)
http.Redirect(writer, request.WAFRaw(), Get302Path+"?info="+url.QueryEscape(info), http.StatusFound)