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 {
984984 *
985985 * `<contains>` is one of: `contains`, `has`, `hasOwnProperty`
986986 *
987- * Note that the `includes` method is covered by `StringInclusionSanitizer `.
987+ * Note that the `includes` method is covered by `MembershipTestSanitizer `.
988988 */
989989 class WhitelistContainmentCallSanitizer extends AdditionalSanitizerGuardNode ,
990990 DataFlow:: MethodCallNode {
@@ -1171,7 +1171,7 @@ module TaintTracking {
11711171 /**
11721172 * A check of form `x.indexOf(y) > 0` or similar, which sanitizes `y` in the "then" branch.
11731173 *
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 `.
11751175 */
11761176 class PositiveIndexOfSanitizer extends AdditionalSanitizerGuardNode , DataFlow:: ValueNode {
11771177 MethodCallExpr indexOf ;
You can’t perform that action at this time.
0 commit comments