在GET302和CAPTCHA验证中不记录特殊URL的访问日志

This commit is contained in:
GoEdgeLab
2023-03-16 10:38:40 +08:00
parent 0449c0639d
commit 3e744ef9c7
4 changed files with 18 additions and 0 deletions

View File

@@ -76,3 +76,11 @@ func (this *TestRequest) Format(s string) string {
func (this *TestRequest) WAFOnAction(action interface{}) bool {
return true
}
func (this *TestRequest) WAFFingerprint() []byte {
return nil
}
func (this *TestRequest) DisableAccessLog() {
}