mirror of
https://github.com/github/codeql.git
synced 2026-03-06 15:49:08 +01:00
JavaScript: Select Nodes (instead of PathNodes) everywhere.
This commit is contained in:
@@ -16,4 +16,5 @@ import DataFlow::PathGraph
|
||||
|
||||
from Configuration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where cfg.hasPathFlow(source, sink)
|
||||
select sink.getNode(), source, sink, "$@ flows here and is used in an XPath expression.", source, "User-provided value"
|
||||
select sink.getNode(), source, sink, "$@ flows here and is used in an XPath expression.",
|
||||
source.getNode(), "User-provided value"
|
||||
|
||||
Reference in New Issue
Block a user