mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-02-15 07:55:40 +08:00
WAF相关跳转不计入统计
This commit is contained in:
@@ -92,6 +92,7 @@ func (this *Post307Action) Perform(waf *WAF, group *RuleGroup, set *RuleSet, req
|
||||
Value: info,
|
||||
})
|
||||
|
||||
request.DisableStat()
|
||||
request.ProcessResponseHeaders(writer.Header(), http.StatusTemporaryRedirect)
|
||||
http.Redirect(writer, request.WAFRaw(), request.WAFRaw().URL.String(), http.StatusTemporaryRedirect)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user