Skip to content

Commit 0bf6020

Browse files
airweentheseion
andauthored
Add explanation
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
1 parent 2000f4c commit 0bf6020

File tree

1 file changed

+1
-0
lines changed
  • src/request_body_processor

1 file changed

+1
-0
lines changed

src/request_body_processor/xml.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ bool XML::init() {
184184
m_data.xml_parser_state = std::make_unique<XMLNodes>(m_transaction);
185185
m_data.xml_parser_state->node_depth = 0;
186186
m_data.xml_parser_state->currval = "";
187+
// the XML will contain at least one node, which is the pseudo root node 'xml'
187188
m_data.xml_parser_state->currpath = "xml.";
188189
}
189190

0 commit comments

Comments
 (0)