mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-01 02:56:35 +08:00
WAF相关跳转不计入统计
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user