Commit 60b24a8
committed
JS: Use an actual sanitizer in test
We got a spurious alert on the following line because 'isLocalURL' is not defined and we don't rely on heuristic name-guessing for sanitisers anymore. This restores the intended behaviour of the test but with an actual sanitiser.1 parent ca68c8a commit 60b24a8
File tree
1 file changed
+1
-1
lines changed- javascript/ql/test/query-tests/Security/CWE-601/ServerSideUrlRedirect
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments