Skip to content

Commit d56ea22

Browse files
authored
Merge pull request #4200 from erik-krogh/typeaheadInconsistencyComment
JS: adjust comment about inconsistency for XSS in typeahead
2 parents b8ae874 + 3952553 commit d56ea22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-079/typeahead.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
source: autocompleter.ttAdapter(),
88
templates: {
99
suggestion: function(loc) {
10-
return loc; // NOT OK! - but not flagged due to not connecting the Bloodhound source with this sink [INCONSISTENCY]
10+
return loc; // NOT OK - but only flagged when `AdditionalSources` are imported [INCONSISTENCY].
1111
}
1212
}
1313
})

0 commit comments

Comments
 (0)