mirror of
https://github.com/potats0/lua-resty-coraza.git
synced 2025-11-16 01:12:22 +03:00
fixed: coraza 必须调用processbody,否则即使告警也会无法阻断。而且该处代码有问题,详见todo
This commit is contained in:
@@ -63,3 +63,10 @@ aaaaaaaaa=aaaaaa
|
||||
POST /t/shell.php?injection=/etc/passwd
|
||||
aaaaaaaaa=aaaaaa
|
||||
--- error_code: 403
|
||||
|
||||
=== TEST 3: integration test blocked with no post data
|
||||
--- http_config eval: $::HttpConfig
|
||||
--- config eval: $::LocationConfig
|
||||
--- request
|
||||
GET /t/shell.php?injection=/etc/passwd
|
||||
--- error_code: 403
|
||||
|
||||
Reference in New Issue
Block a user