mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Update comment
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
This commit is contained in:
parent
bbe7eda693
commit
159f6120aa
@ -79,7 +79,7 @@ class MSCSAXHandler {
|
|||||||
const std::shared_ptr<NodeData>& nd = xml_data->nodes[xml_data->nodes.size()-1];
|
const std::shared_ptr<NodeData>& nd = xml_data->nodes[xml_data->nodes.size()-1];
|
||||||
if (nd->has_child == true) {
|
if (nd->has_child == true) {
|
||||||
// check the return value
|
// check the return value
|
||||||
// if it false, then stop parsing
|
// if false, then stop parsing
|
||||||
// this means the number of arguments reached the limit
|
// this means the number of arguments reached the limit
|
||||||
if (xml_data->m_transaction->addArgument("XML", xml_data->currpath, xml_data->currval, 0) == false) {
|
if (xml_data->m_transaction->addArgument("XML", xml_data->currpath, xml_data->currval, 0) == false) {
|
||||||
xmlStopParser(xml_data->parsing_ctx_arg);
|
xmlStopParser(xml_data->parsing_ctx_arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user