Skip to content

Commit aae69c6

Browse files
committed
update expected output
1 parent c9ec983 commit aae69c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

javascript/ql/test/query-tests/Security/CWE-094/CodeInjection/HeuristicSourceCodeInjection.expected

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ nodes
122122
| react-native.js:8:32:8:38 | tainted |
123123
| react-native.js:10:23:10:29 | tainted |
124124
| react-native.js:10:23:10:29 | tainted |
125+
| react.js:10:56:10:72 | document.location |
126+
| react.js:10:56:10:72 | document.location |
127+
| react.js:10:56:10:77 | documen ... on.hash |
128+
| react.js:10:56:10:77 | documen ... on.hash |
125129
| template-sinks.js:12:9:12:31 | tainted |
126130
| template-sinks.js:12:19:12:31 | req.query.foo |
127131
| template-sinks.js:12:19:12:31 | req.query.foo |
@@ -283,6 +287,10 @@ edges
283287
| react-native.js:7:7:7:33 | tainted | react-native.js:10:23:10:29 | tainted |
284288
| react-native.js:7:17:7:33 | req.param("code") | react-native.js:7:7:7:33 | tainted |
285289
| react-native.js:7:17:7:33 | req.param("code") | react-native.js:7:7:7:33 | tainted |
290+
| react.js:10:56:10:72 | document.location | react.js:10:56:10:77 | documen ... on.hash |
291+
| react.js:10:56:10:72 | document.location | react.js:10:56:10:77 | documen ... on.hash |
292+
| react.js:10:56:10:72 | document.location | react.js:10:56:10:77 | documen ... on.hash |
293+
| react.js:10:56:10:72 | document.location | react.js:10:56:10:77 | documen ... on.hash |
286294
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:14:17:14:23 | tainted |
287295
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:14:17:14:23 | tainted |
288296
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:15:16:15:22 | tainted |

0 commit comments

Comments
 (0)