mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 06:57:10 +03:00
Do not include the initial slash from the audit log entry (thus avoiding a double slash) when building the full file name in mlogc.
This commit is contained in:
@@ -102,7 +102,7 @@ const char logline_pattern[] =
|
||||
"\\ (\\d+)\\ (\\S+)"
|
||||
"\\ \"(.*)\"\\ \"(.*)\""
|
||||
"\\ (\\S+)\\ \"(.*)\""
|
||||
"\\ (\\S+)\\ (\\d+)\\ (\\d+)"
|
||||
"\\ /?(\\S+)\\ (\\d+)\\ (\\d+)"
|
||||
"\\ (\\S+)"
|
||||
"(.*)$";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user