Skip to content

Commit 68d2bc8

Browse files
committed
JS: Update test expectations
1 parent 412939d commit 68d2bc8

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,25 @@ 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+
| template-sinks.js:12:9:12:31 | tainted |
126+
| template-sinks.js:12:19:12:31 | req.query.foo |
127+
| template-sinks.js:12:19:12:31 | req.query.foo |
128+
| template-sinks.js:14:17:14:23 | tainted |
129+
| template-sinks.js:14:17:14:23 | tainted |
130+
| template-sinks.js:15:16:15:22 | tainted |
131+
| template-sinks.js:15:16:15:22 | tainted |
132+
| template-sinks.js:16:18:16:24 | tainted |
133+
| template-sinks.js:16:18:16:24 | tainted |
134+
| template-sinks.js:17:17:17:23 | tainted |
135+
| template-sinks.js:17:17:17:23 | tainted |
136+
| template-sinks.js:18:18:18:24 | tainted |
137+
| template-sinks.js:18:18:18:24 | tainted |
138+
| template-sinks.js:19:16:19:22 | tainted |
139+
| template-sinks.js:19:16:19:22 | tainted |
140+
| template-sinks.js:20:27:20:33 | tainted |
141+
| template-sinks.js:20:27:20:33 | tainted |
142+
| template-sinks.js:21:21:21:27 | tainted |
143+
| template-sinks.js:21:21:21:27 | tainted |
125144
| tst.js:2:6:2:22 | document.location |
126145
| tst.js:2:6:2:22 | document.location |
127146
| tst.js:2:6:2:27 | documen ... on.href |
@@ -264,6 +283,24 @@ edges
264283
| react-native.js:7:7:7:33 | tainted | react-native.js:10:23:10:29 | tainted |
265284
| react-native.js:7:17:7:33 | req.param("code") | react-native.js:7:7:7:33 | tainted |
266285
| react-native.js:7:17:7:33 | req.param("code") | react-native.js:7:7:7:33 | tainted |
286+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:14:17:14:23 | tainted |
287+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:14:17:14:23 | tainted |
288+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:15:16:15:22 | tainted |
289+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:15:16:15:22 | tainted |
290+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:16:18:16:24 | tainted |
291+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:16:18:16:24 | tainted |
292+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:17:17:17:23 | tainted |
293+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:17:17:17:23 | tainted |
294+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:18:18:18:24 | tainted |
295+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:18:18:18:24 | tainted |
296+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:19:16:19:22 | tainted |
297+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:19:16:19:22 | tainted |
298+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:20:27:20:33 | tainted |
299+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:20:27:20:33 | tainted |
300+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:21:21:21:27 | tainted |
301+
| template-sinks.js:12:9:12:31 | tainted | template-sinks.js:21:21:21:27 | tainted |
302+
| template-sinks.js:12:19:12:31 | req.query.foo | template-sinks.js:12:9:12:31 | tainted |
303+
| template-sinks.js:12:19:12:31 | req.query.foo | template-sinks.js:12:9:12:31 | tainted |
267304
| tst.js:2:6:2:22 | document.location | tst.js:2:6:2:27 | documen ... on.href |
268305
| tst.js:2:6:2:22 | document.location | tst.js:2:6:2:27 | documen ... on.href |
269306
| tst.js:2:6:2:27 | documen ... on.href | tst.js:2:6:2:83 | documen ... t=")+8) |

0 commit comments

Comments
 (0)