Hello,
I have a problem with Apache WAF that causes a 500 server error for a specific string in GET parameters and a 400 error for the same string in POST data.
aaPanel: 7.0.13
Apache WAF 8.7.2 - the same trouble I have with version 8.8
Apache: 2.4.62
PHP: 7.4
GET:
/?test=d*!&BMs86XT%Md2hNt8ZpM
WEBSERVER RESPONSE - 500:
Internal Server Error
IN /www/wwwlogs/error_log
[Wed Jan 15 21:57:58.474016 2025] [lua:warn] [pid 1253365:tid 1253380] AH01471: Lua error: /www/server/btwaf/httpd.lua:918: bad argument #1 to 'regex' (string expected, got nil)
POST:
test=d*!&BMs86XT%Md2hNt8ZpM
WEBSERVER RESPONSE - 400:
Bad Request
Your browser sent a request that this server could not understand.
IN /www/wwwlogs/webserver.error_log
[Wed Jan 15 22:04:36.968458 2025] [proxy:error] [pid 1252103:tid 1252128] (500)Unknown error 500: [remote 37.77.239.213:55178] AH01095: prefetch request body failed to ?:0 (localhost) from 37.77.239.213 (), referer: https://.........