File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/lib/semmle/javascript/dataflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ module TaintTracking {
984
984
*
985
985
* `<contains>` is one of: `contains`, `has`, `hasOwnProperty`
986
986
*
987
- * Note that the `includes` method is covered by `StringInclusionSanitizer `.
987
+ * Note that the `includes` method is covered by `MembershipTestSanitizer `.
988
988
*/
989
989
class WhitelistContainmentCallSanitizer extends AdditionalSanitizerGuardNode ,
990
990
DataFlow:: MethodCallNode {
@@ -1171,7 +1171,7 @@ module TaintTracking {
1171
1171
/**
1172
1172
* A check of form `x.indexOf(y) > 0` or similar, which sanitizes `y` in the "then" branch.
1173
1173
*
1174
- * The more typical case of `x.indexOf(y) >= 0` is covered by `StringInclusionSanitizer `.
1174
+ * The more typical case of `x.indexOf(y) >= 0` is covered by `MembershipTestSanitizer `.
1175
1175
*/
1176
1176
class PositiveIndexOfSanitizer extends AdditionalSanitizerGuardNode , DataFlow:: ValueNode {
1177
1177
MethodCallExpr indexOf ;
You can’t perform that action at this time.
0 commit comments