mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
ruby: remove sanitizer to be replaced by MaD model
This commit is contained in:
@@ -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"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user