Skip to content

XML parser does not properly return values with anonymous namespaces #947

Open
@csanders-git

Description

@csanders-git

[4:20:25 PM] chaimsanders:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
soap:Body


OK
SOMERESULT


/soap:Body
/soap:Envelope

Valid Xpath:
//soap:Body/[local-name()='CreateCIInStockResponse']/[local-name()='Data']/text()

e.php][5] Rule 26ca2d0: SecRule "XML:///soap:Body/[local-name()='CreateCIInStockResponse']/[local-name()='Data']/text()" "!@Streq test" "phase:2,log,auditlog,pass,id:165,msg:'Oh boy',xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/"
[21/Oct/2015:16:27:51 --0400] [127.0.0.1/sid#262c538][rid#7fb588002970][/testsite.php][4] Registered XML namespace href "soap" prefix "http://schemas.xmlsoap.org/soap/envelope/".
[21/Oct/2015:16:27:51 --0400] [127.0.0.1/sid#262c538][rid#7fb588002970][/testsite.php][4] Rule returned 0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions