mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Fixed l_log to prevent percentage characters from Lua interfering with formatting.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user