mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-06 15:55:48 +08:00
WAF有允许(allow)动作出现的时候不再继续往下执行
This commit is contained in:
@@ -21,7 +21,7 @@ func (this *AllowAction) IsAttack() bool {
|
||||
}
|
||||
|
||||
func (this *AllowAction) WillChange() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
func (this *AllowAction) Perform(waf *WAF, group *RuleGroup, set *RuleSet, request requests.Request, writer http.ResponseWriter) (allow bool) {
|
||||
|
||||
Reference in New Issue
Block a user