Skip to content

Commit 6946ae9

Browse files
committed
python: missed a spot..
1 parent 143e9ee commit 6946ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/security/dataflow/XpathInjectionCustomizations.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ module XpathInjection {
4343
* A construction of an XPath expression, considered as a sink.
4444
*/
4545
class XPathConstructionArg extends Sink {
46-
XPathConstructionArg() { this = any(XPathConstruction c).getXPath() }
46+
XPathConstructionArg() { this = any(XML::XPathConstruction c).getXPath() }
4747
}
4848

4949
/**
5050
* An execution of an XPath expression, considered as a sink.
5151
*/
5252
class XPathExecutionArg extends Sink {
53-
XPathExecutionArg() { this = any(XPathExecution e).getXPath() }
53+
XPathExecutionArg() { this = any(XML::XPathExecution e).getXPath() }
5454
}
5555
}

0 commit comments

Comments
 (0)