Skip to content

Commit 3952553

Browse files
committed
adjust comment about inconsistency for XSS in typeahead
1 parent 2ba84be commit 3952553

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)