mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Add explanation
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
This commit is contained in:
parent
2000f4c048
commit
0bf60208af
@ -184,6 +184,7 @@ bool XML::init() {
|
|||||||
m_data.xml_parser_state = std::make_unique<XMLNodes>(m_transaction);
|
m_data.xml_parser_state = std::make_unique<XMLNodes>(m_transaction);
|
||||||
m_data.xml_parser_state->node_depth = 0;
|
m_data.xml_parser_state->node_depth = 0;
|
||||||
m_data.xml_parser_state->currval = "";
|
m_data.xml_parser_state->currval = "";
|
||||||
|
// the XML will contain at least one node, which is the pseudo root node 'xml'
|
||||||
m_data.xml_parser_state->currpath = "xml.";
|
m_data.xml_parser_state->currpath = "xml.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user