mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-12-31 21:59:11 +03:00
Replaces getKeyWithCollection with getName on VariableValue
This commit is contained in:
committed by
Felipe Zimmerle
parent
ae74d37f96
commit
1eedf3e898
@@ -304,7 +304,7 @@ int Lua::getvars(lua_State *L) {
|
||||
lua_newtable(L);
|
||||
|
||||
lua_pushstring(L, "name");
|
||||
lua_pushlstring(L, i->getKeyWithCollection().c_str(), i->getKeyWithCollection().size());
|
||||
lua_pushlstring(L, i->getName().c_str(), i->getName().size());
|
||||
lua_settable(L, -3);
|
||||
|
||||
lua_pushstring(L, "value");
|
||||
|
||||
Reference in New Issue
Block a user