mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 12:07:43 +03:00
Jun 16th update
This commit is contained in:
@@ -102,11 +102,12 @@ int ParserJson::cb_string(const unsigned char* s, yajl_size_t slen) {
|
||||
int ParserJson::cb_map_key(const unsigned char* s, yajl_size_t slen) {
|
||||
dbgTrace(D_WAAP_PARSER_JSON) << "ParserJson::cb_map_key(): '" << std::string((const char*)s, slen) << "'";
|
||||
|
||||
m_key.push((char*)s, slen);
|
||||
|
||||
if (m_receiver2) {
|
||||
m_receiver2->onMapKey((const char*)s, slen);
|
||||
m_receiver2->onMapKey(m_key.c_str(), m_key.size());
|
||||
}
|
||||
|
||||
m_key.push((char*)s, slen);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user