dont recognize regexps that match dot as sanitizers

This commit is contained in:
erik-krogh
2023-02-13 17:36:51 +01:00
parent 4fa484dad2
commit 68656274f4
3 changed files with 41 additions and 2 deletions

View File

@@ -147,7 +147,9 @@ module MembershipCandidate {
child instanceof RegExpConstant or
child instanceof RegExpAlt or
child instanceof RegExpGroup
)
) and
// exclude "length matches" that match every string
not this.getAChild*() instanceof RegExpDot
}
/**