mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fixed l_log to prevent percentage characters from Lua interfering with formatting.
This commit is contained in:
parent
a0198a9e6c
commit
6974a1c781
@ -123,7 +123,7 @@ static int l_log(lua_State *L) {
|
||||
|
||||
/* Log message. */
|
||||
if (msr != NULL) {
|
||||
msr_log(msr, level, text);
|
||||
msr_log(msr, level, "%s", text);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user