mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
parent
ba070c9eaa
commit
e2bbe9858f
@ -66,7 +66,6 @@ void XML::evaluate(Transaction *t,
|
|||||||
/* Is there an XML document tree at all? */
|
/* Is there an XML document tree at all? */
|
||||||
if (t->m_xml->m_data.doc == NULL) {
|
if (t->m_xml->m_data.doc == NULL) {
|
||||||
/* Sorry, we've got nothing to give! */
|
/* Sorry, we've got nothing to give! */
|
||||||
t->debug(1, "XML: No XML document found, returning.");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
"version_min":300000,
|
"version_min":300000,
|
||||||
"title":"Testing CtlRequestBodyProcessor=XML (2)",
|
"title":"Testing CtlRequestBodyProcessor=XML (2)",
|
||||||
"expected":{
|
"expected":{
|
||||||
"debug_log": "XML: No XML document found, returning"
|
"debug_log": "Rule returned 0"
|
||||||
},
|
},
|
||||||
"client":{
|
"client":{
|
||||||
"ip":"200.249.12.31",
|
"ip":"200.249.12.31",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user