JavaScript: Select Nodes (instead of PathNodes) everywhere.

This commit is contained in:
Max Schaefer
2018-11-08 15:01:45 +00:00
parent e365b722ee
commit 52ae757279
30 changed files with 53 additions and 33 deletions

View File

@@ -18,4 +18,5 @@ import DataFlow::PathGraph
from Configuration cfg, DataFlow::PathNode source, DataFlow::PathNode sink
where cfg.hasPathFlow(source, sink)
select sink.getNode(), source, sink, "Untrusted URL redirection due to $@.", source, "user-provided value"
select sink.getNode(), source, sink, "Untrusted URL redirection due to $@.",
source.getNode(), "user-provided value"

View File

@@ -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, "Untrusted URL redirection due to $@.", source, "user-provided value"
select sink.getNode(), source, sink, "Untrusted URL redirection due to $@.",
source.getNode(), "user-provided value"