ruby: remove sanitizer to be replaced by MaD model

This commit is contained in:
yoff
2026-01-20 16:01:42 +01:00
parent 75bd4a7a12
commit 15980cb1da
2 changed files with 20 additions and 10 deletions

View File

@@ -68,14 +68,4 @@ module RegExpInjection {
class StringConstArrayInclusionCallAsSanitizer extends Sanitizer,
StringConstArrayInclusionCallBarrier
{ }
/**
* A call to `Regexp.escape` (or its alias, `Regexp.quote`), considered as a
* sanitizer.
*/
class RegexpEscapeSanitization extends Sanitizer {
RegexpEscapeSanitization() {
this = API::getTopLevelMember("Regexp").getAMethodCall(["escape", "quote"])
}
}
}